Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.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: translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006581/0.006581, allocations: 101.4 kB / 15.73 MB, free: 6.035 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.001411/0.001411, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9441/0.9441, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.91 kB / 0.5856 GB, free: 3.336 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.406, allocations: 80.92 MB / 0.6647 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2028/0.6089, allocations: 169.4 MB / 0.8301 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00907/0.618, allocations: 7.133 MB / 0.8371 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006013/0.6186, allocations: 15.88 kB / 0.8371 GB, free: 424 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007155/0.6194, allocations: 174.7 kB / 0.8373 GB, free: 248 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003349/0.6228, allocations: 1.311 MB / 0.8386 GB, free: 14.93 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.6245, allocations: 0.6335 MB / 0.8392 GB, free: 14.3 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001073/0.6256, allocations: 0.7602 MB / 0.8399 GB, free: 13.54 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005824/0.6261, allocations: 294.8 kB / 0.8402 GB, free: 13.25 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/0.6276, allocations: 0.5838 MB / 0.8408 GB, free: 12.66 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009799/0.6286, allocations: 432.5 kB / 0.8412 GB, free: 12.24 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 8.296e-05/0.6287, allocations: 28 kB / 0.8412 GB, free: 12.21 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002382/0.6311, allocations: 1.243 MB / 0.8424 GB, free: 10.97 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.6313, allocations: 115.7 kB / 0.8425 GB, free: 10.86 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002899/0.6316, allocations: 179.1 kB / 0.8427 GB, free: 10.68 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002119/0.6337, allocations: 0.9155 MB / 0.8436 GB, free: 9.762 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6337, allocations: 0 / 0.8436 GB, free: 9.762 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6337, allocations: 0 / 0.8436 GB, free: 9.762 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.6337, allocations: 4 kB / 0.8436 GB, free: 9.758 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001285/0.635, allocations: 0.6896 MB / 0.8443 GB, free: 9.016 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.6351, allocations: 15.97 kB / 0.8443 GB, free: 9 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.6362, allocations: 127.4 kB / 0.8444 GB, free: 8.875 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006085/0.6368, allocations: 341.2 kB / 0.8447 GB, free: 8.5 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.387e-05/0.6369, allocations: 50.27 kB / 0.8448 GB, free: 8.445 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.686e-05/0.637, allocations: 24 kB / 0.8448 GB, free: 8.422 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00074/0.6377, allocations: 374.1 kB / 0.8452 GB, free: 8.039 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.6377, allocations: 0 / 0.8452 GB, free: 8.039 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.191e-05/0.6378, allocations: 15.94 kB / 0.8452 GB, free: 8.023 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.6378, allocations: 8 kB / 0.8452 GB, free: 8.016 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005138/0.6383, allocations: 270 kB / 0.8454 GB, free: 7.754 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.6404, allocations: 1.5 MB / 0.8469 GB, free: 6.125 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.6408, allocations: 186.6 kB / 0.8471 GB, free: 5.934 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.6411, allocations: 116.8 kB / 0.8472 GB, free: 5.816 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000961/0.642, allocations: 0.5053 MB / 0.8477 GB, free: 5.219 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.6421, allocations: 34.5 kB / 0.8477 GB, free: 5.176 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.6421, allocations: 4 kB / 0.8477 GB, free: 5.172 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.0009366/0.643, allocations: 357 kB / 0.8481 GB, free: 4.816 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.6431, allocations: 55.41 kB / 0.8481 GB, free: 4.75 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.6434, allocations: 312.5 kB / 0.8484 GB, free: 4.438 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.6435, allocations: 29.7 kB / 0.8484 GB, free: 4.402 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.6436, allocations: 195.9 kB / 0.8486 GB, free: 4.207 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.859e-05/0.6437, allocations: 51.27 kB / 0.8487 GB, free: 4.156 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.924e-05/0.6438, allocations: 45.69 kB / 0.8487 GB, free: 4.105 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.6439, allocations: 342.8 kB / 0.8491 GB, free: 3.762 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.6441, allocations: 83.89 kB / 0.8491 GB, free: 3.68 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.6444, allocations: 153.9 kB / 0.8493 GB, free: 3.508 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003964/0.6448, allocations: 233.8 kB / 0.8495 GB, free: 3.258 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6448, allocations: 0 / 0.8495 GB, free: 3.258 MB / 0.67 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005668/0.6453, allocations: 283.3 kB / 0.8498 GB, free: 2.977 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.6454, allocations: 7.984 kB / 0.8498 GB, free: 2.969 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.6454, allocations: 4 kB / 0.8498 GB, free: 2.965 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.6454, allocations: 4.188 kB / 0.8498 GB, free: 2.961 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.6456, allocations: 35.98 kB / 0.8498 GB, free: 2.926 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.6456, allocations: 4 kB / 0.8498 GB, free: 2.922 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.6458, allocations: 39.61 kB / 0.8499 GB, free: 2.883 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.6459, allocations: 19.98 kB / 0.8499 GB, free: 2.863 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001549/0.646, allocations: 145.8 kB / 0.85 GB, free: 2.711 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.6462, allocations: 31.62 kB / 0.8501 GB, free: 2.68 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006632/0.6468, allocations: 314.5 kB / 0.8504 GB, free: 2.371 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.6468, allocations: 4 kB / 0.8504 GB, free: 2.367 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.6469, allocations: 0 / 0.8504 GB, free: 2.367 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.6469, allocations: 0 / 0.8504 GB, free: 2.367 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.6481, allocations: 0.8121 MB / 0.8512 GB, free: 1.477 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.6481, allocations: 7.875 kB / 0.8512 GB, free: 1.469 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.6483, allocations: 35.97 kB / 0.8512 GB, free: 1.434 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.6483, allocations: 4.219 kB / 0.8512 GB, free: 1.43 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.6484, allocations: 12 kB / 0.8512 GB, free: 1.418 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.6484, allocations: 0 / 0.8512 GB, free: 1.418 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.6484, allocations: 7.938 kB / 0.8512 GB, free: 1.41 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005869/0.649, allocations: 393 kB / 0.8516 GB, free: 0.9883 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.6491, allocations: 140.7 kB / 0.8517 GB, free: 0.832 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.6492, allocations: 4 kB / 0.8517 GB, free: 0.8281 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.6494, allocations: 15.98 kB / 0.8517 GB, free: 0.8125 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/0.6495, allocations: 19.98 kB / 0.8518 GB, free: 0.793 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.6495, allocations: 8 kB / 0.8518 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002233/0.6497, allocations: 227 kB / 0.852 GB, free: 0.5625 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6497, allocations: 0 / 0.852 GB, free: 0.5625 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005327/0.6503, allocations: 123.8 kB / 0.8521 GB, free: 452 kB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006319/0.6509, allocations: 233.3 kB / 0.8523 GB, free: 212 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005258/0.6515, allocations: 223.7 kB / 0.8525 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6515, allocations: 0 / 0.8525 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.6517, allocations: 120.6 kB / 0.8527 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007942/0.6525, allocations: 166.2 kB / 0.8528 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.6537, allocations: 0.5932 MB / 0.8534 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.6541, allocations: 0.7911 MB / 0.8542 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002701/0.6544, allocations: 82.86 kB / 0.8542 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.022e-05/0.6544, allocations: 31.44 kB / 0.8543 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of SimCode: time 1.683e-06/0.6545, allocations: 0 / 0.8543 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of Templates: time 0.01396/0.6684, allocations: 7.308 MB / 0.8614 GB, free: 6.934 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)