Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density") translateModel(Annex60.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008177/0.0008177, allocations: 89.73 kB / 15.06 MB, free: 1.098 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.0008571/0.0008573, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.4 MB / 222.1 MB, free: 5.895 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4052/0.4052, allocations: 55.02 MB / 325.4 MB, free: 0.707 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000575/0.0005751, allocations: 16 kB / 396.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3606, allocations: 60.72 MB / 457.4 MB, free: 37.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.Density): time 0.2058/0.5664, allocations: 168.3 MB / 0.611 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0105/0.577, allocations: 6.322 MB / 0.6172 GB, free: 8.609 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.5782, allocations: 27.81 kB / 0.6172 GB, free: 8.582 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.5795, allocations: 326 kB / 0.6175 GB, free: 8.262 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003223/0.5827, allocations: 1.008 MB / 0.6185 GB, free: 7.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003073/0.5858, allocations: 0.9014 MB / 0.6194 GB, free: 6.355 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003696/0.5895, allocations: 2.736 MB / 0.622 GB, free: 3.613 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.5906, allocations: 0.534 MB / 0.6226 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001956/0.5925, allocations: 0.8403 MB / 0.6234 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.5936, allocations: 0.6733 MB / 0.624 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.181e-05/0.5937, allocations: 36 kB / 0.6241 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.5966, allocations: 0.9628 MB / 0.625 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004283/0.5971, allocations: 315.1 kB / 0.6253 GB, free: 248 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003539/0.5974, allocations: 209.3 kB / 0.6255 GB, free: 32 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001906/0.5993, allocations: 1.259 MB / 0.6267 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.5993, allocations: 8 kB / 0.6268 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5994, allocations: 0 / 0.6268 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.504e-05/0.5994, allocations: 4 kB / 0.6268 GB, free: 14.76 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.001988/0.6014, allocations: 1.083 MB / 0.6278 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.6014, allocations: 8.031 kB / 0.6278 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/0.6031, allocations: 254.7 kB / 0.6281 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.6041, allocations: 0.5874 MB / 0.6286 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.053e-05/0.6042, allocations: 49.31 kB / 0.6287 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.666e-05/0.6043, allocations: 61.25 kB / 0.6287 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.6058, allocations: 0.8274 MB / 0.6296 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.6059, allocations: 0 / 0.6296 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.516e-05/0.606, allocations: 35.89 kB / 0.6296 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-05/0.606, allocations: 21.31 kB / 0.6296 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.6073, allocations: 0.6687 MB / 0.6303 GB, free: 11.06 MB / 0.4981 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.003878/0.6112, allocations: 2.863 MB / 0.6331 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008895/0.6121, allocations: 439.8 kB / 0.6335 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003743/0.6125, allocations: 237.3 kB / 0.6337 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003601/0.6128, allocations: 133.4 kB / 0.6338 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.6129, allocations: 38.89 kB / 0.6339 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.725e-06/0.6129, allocations: 0 / 0.6339 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.001759/0.6146, allocations: 0.7086 MB / 0.6346 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.6147, allocations: 55.41 kB / 0.6346 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007468/0.6155, allocations: 0.5861 MB / 0.6352 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.558e-05/0.6155, allocations: 37.7 kB / 0.6352 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/0.6158, allocations: 367.9 kB / 0.6356 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.616, allocations: 153.9 kB / 0.6357 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.616, allocations: 8 kB / 0.6357 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.6162, allocations: 374.7 kB / 0.6361 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004121/0.6167, allocations: 201 kB / 0.6363 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005105/0.6172, allocations: 327.5 kB / 0.6366 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004898/0.6177, allocations: 252.6 kB / 0.6368 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.6177, allocations: 0 / 0.6368 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00111/0.6188, allocations: 0.6123 MB / 0.6374 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.619, allocations: 168.5 kB / 0.6376 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.619, allocations: 0 / 0.6376 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.619, allocations: 8 kB / 0.6376 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/0.6208, allocations: 368.1 kB / 0.6379 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/0.6233, allocations: 1.623 MB / 0.6395 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008158/0.6242, allocations: 107.3 kB / 0.6396 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.6242, allocations: 19.95 kB / 0.6397 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.6243, allocations: 8 kB / 0.6397 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009003/0.6252, allocations: 0.5022 MB / 0.6402 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.6252, allocations: 5.938 kB / 0.6402 GB, free: 388 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.052e-06/0.6252, allocations: 4 kB / 0.6402 GB, free: 384 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005276/0.6257, allocations: 139.8 kB / 0.6403 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.6257, allocations: 12.02 kB / 0.6403 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005109/0.6263, allocations: 88.91 kB / 0.6404 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.6263, allocations: 20 kB / 0.6404 GB, free: 124 kB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2668/0.8931, allocations: 313.5 kB / 0.6407 GB, free: 158.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/0.8934, allocations: 71.58 kB / 0.6408 GB, free: 158.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.8944, allocations: 0.5287 MB / 0.6413 GB, free: 158.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.8944, allocations: 3.062 kB / 0.6413 GB, free: 158.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.8944, allocations: 0.9062 kB / 0.6413 GB, free: 158.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007034/0.8951, allocations: 0.7515 MB / 0.642 GB, free: 158.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.8969, allocations: 1.309 MB / 0.6433 GB, free: 157.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.8969, allocations: 6.312 kB / 0.6433 GB, free: 157.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/0.8984, allocations: 342.4 kB / 0.6436 GB, free: 157.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.8984, allocations: 3.125 kB / 0.6436 GB, free: 157.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.8985, allocations: 16.58 kB / 0.6437 GB, free: 157.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/0.9001, allocations: 1.584 MB / 0.6452 GB, free: 156.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.9002, allocations: 3.906 kB / 0.6452 GB, free: 156.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.9015, allocations: 0.9012 MB / 0.6461 GB, free: 156.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/0.9018, allocations: 211.9 kB / 0.6463 GB, free: 156.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.703e-05/0.9019, allocations: 16.5 kB / 0.6463 GB, free: 156.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005668/0.9025, allocations: 63.61 kB / 0.6464 GB, free: 156.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.548e-05/0.9026, allocations: 36.2 kB / 0.6464 GB, free: 156.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.803e-05/0.9027, allocations: 26.06 kB / 0.6464 GB, free: 156.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004599/0.9031, allocations: 421.4 kB / 0.6468 GB, free: 156.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9031, allocations: 0 / 0.6468 GB, free: 156.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001143/0.9043, allocations: 412.1 kB / 0.6472 GB, free: 156.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * 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 (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004441/0.9047, allocations: 184.8 kB / 0.6474 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002572/0.9073, allocations: 0.9754 MB / 0.6484 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.9073, allocations: 6.062 kB / 0.6484 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002406/0.9098, allocations: 0.6099 MB / 0.649 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/0.9119, allocations: 426.8 kB / 0.6494 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/0.9145, allocations: 1.843 MB / 0.6512 GB, free: 155.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.9149, allocations: 0.9797 MB / 0.6521 GB, free: 154.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008976/0.9159, allocations: 221.1 kB / 0.6523 GB, free: 154.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.916, allocations: 58.67 kB / 0.6524 GB, free: 154.5 MB / 0.4981 GB Notification: Performance of SimCode: time 8.72e-07/0.916, allocations: 0 / 0.6524 GB, free: 154.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.02625/0.9423, allocations: 13.85 MB / 0.6659 GB, free: 153.7 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Density.pipe 2>&1) Environment - environmentSimulation: