Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008418/0.0008418, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005558/0.005558, allocations: 169.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8713/0.8713, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.000356, allocations: 9.438 kB / 0.5077 GB, free: 4.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1342, allocations: 82.31 MB / 0.5881 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.001334/0.1356, allocations: 1.262 MB / 0.5893 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000773/0.1364, allocations: 0.569 MB / 0.5899 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.412e-05/0.1364, allocations: 4 kB / 0.5899 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.286e-05/0.1365, allocations: 3.938 kB / 0.5899 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.789e-05/0.1366, allocations: 11.86 kB / 0.5899 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.1368, allocations: 71.86 kB / 0.5899 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.817e-05/0.1369, allocations: 99.64 kB / 0.59 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.77e-05/0.137, allocations: 20.2 kB / 0.5901 GB, free: 484 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.128e-05/0.1371, allocations: 35.84 kB / 0.5901 GB, free: 448 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.326e-05/0.1372, allocations: 43.81 kB / 0.5901 GB, free: 404 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.1372, allocations: 4 kB / 0.5901 GB, free: 400 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.233e-05/0.1373, allocations: 59.89 kB / 0.5902 GB, free: 340 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.531e-05/0.1374, allocations: 19.92 kB / 0.5902 GB, free: 320 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.508e-05/0.1374, allocations: 57.5 kB / 0.5903 GB, free: 256 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.1376, allocations: 139.8 kB / 0.5904 GB, free: 116 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1376, allocations: 0 / 0.5904 GB, free: 116 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1376, allocations: 0 / 0.5904 GB, free: 116 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.337e-06/0.1376, allocations: 0 / 0.5904 GB, free: 116 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006516/0.1383, allocations: 452.8 kB / 0.5908 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.1383, allocations: 12.03 kB / 0.5908 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.472e-05/0.1383, allocations: 34.69 kB / 0.5909 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.1384, allocations: 8.844 kB / 0.5909 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.1385, allocations: 194.3 kB / 0.5911 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.1385, allocations: 8.375 kB / 0.5911 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.1386, allocations: 4.375 kB / 0.5911 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.1388, allocations: 121.7 kB / 0.5912 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.259e-06/0.1389, allocations: 0 / 0.5912 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1389, allocations: 4 kB / 0.5912 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.1389, allocations: 4 kB / 0.5912 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.1392, allocations: 111.8 kB / 0.5913 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005393/0.1398, allocations: 356.6 kB / 0.5917 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.1401, allocations: 118.4 kB / 0.5918 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.1403, allocations: 68.88 kB / 0.5918 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.1403, allocations: 4 kB / 0.5918 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002803/0.1406, allocations: 115.3 kB / 0.5919 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.1406, allocations: 0 / 0.5919 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.000609/0.1412, allocations: 237.4 kB / 0.5922 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.1412, allocations: 55.41 kB / 0.5922 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.37e-05/0.1413, allocations: 141.8 kB / 0.5924 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.1414, allocations: 25.7 kB / 0.5924 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.1414, allocations: 104 kB / 0.5925 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.1414, allocations: 23.78 kB / 0.5925 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.1415, allocations: 21.72 kB / 0.5925 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.903e-05/0.1416, allocations: 326.8 kB / 0.5928 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.1418, allocations: 63.95 kB / 0.5929 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.1419, allocations: 75.98 kB / 0.593 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/0.1423, allocations: 166.4 kB / 0.5931 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1423, allocations: 0 / 0.5931 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004329/0.1427, allocations: 214.9 kB / 0.5933 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.1428, allocations: 37.69 kB / 0.5934 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1428, allocations: 480 / 0.5934 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.1428, allocations: 0 / 0.5934 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.1429, allocations: 27.92 kB / 0.5934 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.143, allocations: 0 / 0.5934 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.1431, allocations: 39.81 kB / 0.5934 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.1431, allocations: 11.88 kB / 0.5934 GB, free: 12.73 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.701e-05/0.1432, allocations: 113.8 kB / 0.5936 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.1432, allocations: 7.906 kB / 0.5936 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.1433, allocations: 16.7 kB / 0.5936 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.1433, allocations: 8 kB / 0.5936 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.1433, allocations: 0 / 0.5936 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1433, allocations: 4 kB / 0.5936 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.1434, allocations: 197.5 kB / 0.5938 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1434, allocations: 3.938 kB / 0.5938 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.1436, allocations: 19.98 kB / 0.5938 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1436, allocations: 0 / 0.5938 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.1436, allocations: 3.984 kB / 0.5938 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1436, allocations: 3.984 kB / 0.5938 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1436, allocations: 0 / 0.5938 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004162/0.144, allocations: 216.7 kB / 0.594 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.1441, allocations: 85.02 kB / 0.5941 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.1441, allocations: 0 / 0.5941 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.1442, allocations: 15.98 kB / 0.5941 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.1443, allocations: 15.97 kB / 0.5941 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.1443, allocations: 4 kB / 0.5941 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.889e-05/0.1443, allocations: 109.3 kB / 0.5942 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1444, allocations: 4 kB / 0.5942 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002099/0.1446, allocations: 36 kB / 0.5943 GB, free: 11.79 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006558/0.1452, allocations: 0.7562 MB / 0.595 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000425/0.1457, allocations: 211.2 kB / 0.5952 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1457, allocations: 4 kB / 0.5952 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.1459, allocations: 71.95 kB / 0.5953 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.1461, allocations: 17.75 kB / 0.5953 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.1481, allocations: 1.782 MB / 0.597 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.1483, allocations: 0.7004 MB / 0.5977 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.731e-05/0.1483, allocations: 11.98 kB / 0.5977 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.445e-05/0.1484, allocations: 27.42 kB / 0.5978 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1484, allocations: 8 kB / 0.5978 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.527/1.675, allocations: 2.408 MB / 0.6001 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/1.676, allocations: 195.3 kB / 0.6003 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.322/3.998, allocations: 0 / 0.6003 GB, free: 5.523 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_SignalRanker.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)