Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.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/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/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(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001517/0.001517, allocations: 177.3 kB / 15.94 MB, free: 228 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.78/1.78, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.471/0.471, allocations: 38.03 MB / 308.4 MB, free: 10.41 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: ModelicaTest requested package Modelica of version 3.2.1. 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.0007295/0.0007295, allocations: 12 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1722, allocations: 57.53 MB / 433.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate): time 0.3406/0.5128, allocations: 35.89 MB / 469.8 MB, free: 33.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0159/0.5287, allocations: 13.41 MB / 483.2 MB, free: 27.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000954/0.5297, allocations: 14.03 kB / 483.2 MB, free: 27.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.5308, allocations: 253.5 kB / 483.5 MB, free: 26.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01441/0.5452, allocations: 3.616 MB / 487.1 MB, free: 25.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006857/0.5521, allocations: 1.731 MB / 488.8 MB, free: 24.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00185/0.554, allocations: 0.7107 MB / 489.6 MB, free: 23.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005255/0.5545, allocations: 287.4 kB / 489.8 MB, free: 23.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.5555, allocations: 493.2 kB / 490.3 MB, free: 23.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003751/0.5559, allocations: 261.8 kB / 490.6 MB, free: 23.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.036e-05/0.556, allocations: 26.09 kB / 490.6 MB, free: 23.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01668/0.5727, allocations: 7.194 MB / 497.8 MB, free: 21.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003556/0.5731, allocations: 96.47 kB / 497.9 MB, free: 21.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003957/0.5735, allocations: 128.9 kB / 498 MB, free: 21.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0122/0.5857, allocations: 3.115 MB / 0.4894 GB, free: 21.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.5857, allocations: 0 / 0.4894 GB, free: 21.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5858, allocations: 3.938 kB / 0.4894 GB, free: 21.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.5858, allocations: 4 kB / 0.4894 GB, free: 21 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.007347/0.5931, allocations: 1.26 MB / 0.4906 GB, free: 20.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/0.5932, allocations: 9.031 kB / 0.4906 GB, free: 20.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002506/0.5957, allocations: 282.1 kB / 0.4909 GB, free: 20.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.5968, allocations: 410 kB / 0.4913 GB, free: 19.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.485e-05/0.5969, allocations: 29.78 kB / 0.4913 GB, free: 19.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.238e-05/0.597, allocations: 42.12 kB / 0.4914 GB, free: 19.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002245/0.5992, allocations: 0.6888 MB / 0.492 GB, free: 19.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.5993, allocations: 12.83 kB / 0.492 GB, free: 19.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.765e-05/0.5994, allocations: 17.5 kB / 0.4921 GB, free: 19.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.5994, allocations: 9.562 kB / 0.4921 GB, free: 19.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/0.6013, allocations: 0.6122 MB / 0.4927 GB, free: 19.3 MB / 382.1 MB 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.004344/0.6057, allocations: 2.996 MB / 0.4956 GB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.6073, allocations: 0.49 MB / 0.4961 GB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08497/0.6923, allocations: 40.3 MB / 0.5354 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.46e-05/0.6924, allocations: 38.56 kB / 0.5355 GB, free: 15.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.726e-06/0.6924, allocations: 0 / 0.5355 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=30): time 0.003901/0.6963, allocations: 1.007 MB / 0.5364 GB, free: 14.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.258e-05/0.6964, allocations: 106.8 kB / 0.5365 GB, free: 14.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006774/0.6971, allocations: 409.9 kB / 0.5369 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.706e-05/0.6972, allocations: 33.7 kB / 0.537 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.6975, allocations: 244 kB / 0.5372 GB, free: 14.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.6976, allocations: 98.5 kB / 0.5373 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.6976, allocations: 12 kB / 0.5373 GB, free: 13.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.6978, allocations: 358.7 kB / 0.5376 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004085/0.6982, allocations: 143.9 kB / 0.5378 GB, free: 13.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004662/0.6987, allocations: 283 kB / 0.5381 GB, free: 13.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000437/0.6992, allocations: 171.8 kB / 0.5382 GB, free: 12.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.6992, allocations: 0 / 0.5382 GB, free: 12.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001194/0.7004, allocations: 0.5014 MB / 0.5387 GB, free: 12.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007138/0.7011, allocations: 1.308 MB / 0.54 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.7011, allocations: 4 kB / 0.54 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003226/0.7044, allocations: 372.4 kB / 0.5403 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003814/0.7048, allocations: 95.81 kB / 0.5404 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005623/0.7053, allocations: 0.6031 MB / 0.541 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006027/0.706, allocations: 75.47 kB / 0.5411 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.057e-05/0.706, allocations: 20 kB / 0.5411 GB, free: 9.836 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.706, allocations: 4 kB / 0.5411 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000937/0.707, allocations: 409.2 kB / 0.5415 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.707, allocations: 7.953 kB / 0.5415 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/0.707, allocations: 4 kB / 0.5415 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/0.7074, allocations: 116.3 kB / 0.5416 GB, free: 9.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.7075, allocations: 11.92 kB / 0.5416 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/0.708, allocations: 65.88 kB / 0.5417 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.708, allocations: 24 kB / 0.5417 GB, free: 9.211 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (boundary_fixed.medium.phase,massFlowRate1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003944/0.7084, allocations: 254 kB / 0.542 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.7086, allocations: 43.53 kB / 0.542 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002849/0.7114, allocations: 2.039 MB / 0.544 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.668e-05/0.7115, allocations: 27.95 kB / 0.544 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.7115, allocations: 0.875 kB / 0.544 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.7115, allocations: 0 / 0.544 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.7131, allocations: 1.011 MB / 0.545 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.7131, allocations: 0 / 0.545 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/0.7134, allocations: 87.83 kB / 0.5451 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001587/0.715, allocations: 0.6275 MB / 0.5457 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.7151, allocations: 8.188 kB / 0.5457 GB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000894/0.716, allocations: 1.022 MB / 0.5467 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.716, allocations: 0 / 0.5467 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.7178, allocations: 1.345 MB / 0.548 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004724/0.7183, allocations: 255.4 kB / 0.5483 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.7184, allocations: 8 kB / 0.5483 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004397/0.7189, allocations: 39.91 kB / 0.5483 GB, free: 2.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.719, allocations: 35.89 kB / 0.5484 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/0.7191, allocations: 12 kB / 0.5484 GB, free: 2.273 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005759/0.7196, allocations: 394.8 kB / 0.5487 GB, free: 1.887 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7196, allocations: 3.938 kB / 0.5488 GB, free: 1.883 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006955/0.7266, allocations: 1.151 MB / 0.5499 GB, free: 0.7305 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01163/0.7383, allocations: 1.219 MB / 0.5511 GB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00242/0.7407, allocations: 0.8197 MB / 0.5519 GB, free: 14.69 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.7408, allocations: 4 kB / 0.5519 GB, free: 14.69 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008788/0.7417, allocations: 496.8 kB / 0.5523 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001941/0.7436, allocations: 269.7 kB / 0.5526 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/0.7471, allocations: 1.957 MB / 0.5545 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000727/0.7479, allocations: 0.9996 MB / 0.5555 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001105/0.749, allocations: 0.5503 MB / 0.556 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.7492, allocations: 55.42 kB / 0.5561 GB, free: 10.33 MB / 430.1 MB Notification: Performance of SimCode: time 7.81e-07/0.7492, allocations: 0 / 0.5561 GB, free: 10.33 MB / 430.1 MB Notification: Performance of Templates: time 0.07917/0.8284, allocations: 41.91 MB / 0.597 GB, free: 412 kB / 462.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe 2>&1) Environment - environmentSimulation: