Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.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/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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: "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_Transport",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_Transport",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.0009116/0.0009116, allocations: 100 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.0009542/0.000954, 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.571/1.571, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04482/0.04482, allocations: 9.064 MB / 279.4 MB, free: 12.14 MB / 238.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: Performance of FrontEnd - loaded program: time 0.0004821/0.0004822, allocations: 20 kB / 339.2 MB, free: 25.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09584/0.09633, allocations: 49.18 MB / 388.4 MB, free: 8.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.01644/0.1128, allocations: 14.56 MB / 402.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00865/0.1215, allocations: 8.497 MB / 411.4 MB, free: 1.547 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.1217, allocations: 3.938 kB / 411.4 MB, free: 1.543 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007371/0.1224, allocations: 247.1 kB / 411.7 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003766/0.1228, allocations: 119.6 kB / 411.8 MB, free: 1.184 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01244/0.1352, allocations: 4.604 MB / 416.4 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.1355, allocations: 107.8 kB / 416.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.751e-05/0.1355, allocations: 13.39 kB / 416.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003048/0.1358, allocations: 119.6 kB / 416.6 MB, free: 12.33 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.427e-05/0.1359, allocations: 47.78 kB / 416.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.1359, allocations: 4 kB / 416.7 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01655/0.1525, allocations: 8.702 MB / 425.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.923e-05/0.1526, allocations: 15.92 kB / 425.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.728e-05/0.1527, allocations: 41.64 kB / 425.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004986/0.1576, allocations: 1.836 MB / 427.3 MB, free: 1.664 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1577, allocations: 0 / 427.3 MB, free: 1.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1577, allocations: 0 / 427.3 MB, free: 1.664 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.1577, allocations: 0 / 427.3 MB, free: 1.664 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001819/0.1595, allocations: 0.7837 MB / 428.1 MB, free: 0.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.1596, allocations: 12.03 kB / 428.1 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.131e-05/0.1596, allocations: 34.55 kB / 428.1 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.1597, allocations: 19.77 kB / 428.1 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.1598, allocations: 170.9 kB / 428.3 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1598, allocations: 8 kB / 428.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.1599, allocations: 4 kB / 428.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.1602, allocations: 140.3 kB / 428.4 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.1602, allocations: 0 / 428.4 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1602, allocations: 7.953 kB / 428.4 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.1602, allocations: 3.984 kB / 428.4 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004062/0.1607, allocations: 163.8 kB / 428.6 MB, free: 232 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1776/0.3383, allocations: 345.4 kB / 428.9 MB, free: 45.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.3387, allocations: 121.8 kB / 429.1 MB, free: 45.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01027/0.349, allocations: 8.264 MB / 437.3 MB, free: 37.88 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.3491, allocations: 35.67 kB / 437.4 MB, free: 37.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.084e-06/0.3491, allocations: 4.766 kB / 437.4 MB, free: 37.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009257/0.35, allocations: 404.2 kB / 437.8 MB, free: 37.72 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.35, allocations: 52.69 kB / 437.8 MB, free: 37.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.729e-05/0.3501, allocations: 139.3 kB / 437.9 MB, free: 37.55 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.3502, allocations: 29.86 kB / 438 MB, free: 37.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.3502, allocations: 88.48 kB / 438.1 MB, free: 37.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.3502, allocations: 49.69 kB / 438.1 MB, free: 37.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-06/0.3503, allocations: 0 / 438.1 MB, free: 37.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.742e-05/0.3503, allocations: 323.1 kB / 438.4 MB, free: 37.1 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.3506, allocations: 84.84 kB / 438.5 MB, free: 37.1 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.3508, allocations: 92.56 kB / 438.6 MB, free: 37.1 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.351, allocations: 88.64 kB / 438.7 MB, free: 37.1 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.351, allocations: 0 / 438.7 MB, free: 37.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005173/0.3516, allocations: 223 kB / 438.9 MB, free: 37.06 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.3516, allocations: 10.72 kB / 438.9 MB, free: 37.06 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.3516, allocations: 2.094 kB / 438.9 MB, free: 37.06 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3516, allocations: 1.156 kB / 438.9 MB, free: 37.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.3518, allocations: 28.77 kB / 438.9 MB, free: 37.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3518, allocations: 1.094 kB / 438.9 MB, free: 37.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.3519, allocations: 25.44 kB / 439 MB, free: 37.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.352, allocations: 1.891 kB / 439 MB, free: 37.06 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.399e-05/0.3521, allocations: 118.2 kB / 439.1 MB, free: 36.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.3521, allocations: 17.52 kB / 439.1 MB, free: 36.94 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006295/0.3527, allocations: 246.8 kB / 439.3 MB, free: 36.9 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/0.3527, allocations: 2.828 kB / 439.4 MB, free: 36.9 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3528, allocations: 0 / 439.4 MB, free: 36.9 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3528, allocations: 0.6094 kB / 439.4 MB, free: 36.9 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.353, allocations: 215.5 kB / 439.6 MB, free: 36.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.353, allocations: 1.094 kB / 439.6 MB, free: 36.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.3532, allocations: 32.19 kB / 439.6 MB, free: 36.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.3532, allocations: 5.109 kB / 439.6 MB, free: 36.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.3532, allocations: 5.016 kB / 439.6 MB, free: 36.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.3532, allocations: 4.609 kB / 439.6 MB, free: 36.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3532, allocations: 0 / 439.6 MB, free: 36.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005386/0.3538, allocations: 332.1 kB / 439.9 MB, free: 36.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.3538, allocations: 98.47 kB / 440 MB, free: 36.47 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.3538, allocations: 3.672 kB / 440 MB, free: 36.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.354, allocations: 22.66 kB / 440.1 MB, free: 36.47 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/0.3541, allocations: 9.281 kB / 440.1 MB, free: 36.47 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.3541, allocations: 3.719 kB / 440.1 MB, free: 36.47 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.881e-05/0.3541, allocations: 101.6 kB / 440.2 MB, free: 36.39 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3541, allocations: 3.938 kB / 440.2 MB, free: 36.39 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002151/0.3563, allocations: 0.7204 MB / 440.9 MB, free: 36.38 MB / 318.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: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003767/0.3601, allocations: 1.967 MB / 442.9 MB, free: 35.54 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005273/0.3606, allocations: 201.8 kB / 443.1 MB, free: 35.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3606, allocations: 5.031 kB / 443.1 MB, free: 35.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.3609, allocations: 106.3 kB / 443.2 MB, free: 35.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.3612, allocations: 40.14 kB / 443.2 MB, free: 35.51 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.3623, allocations: 0.641 MB / 443.8 MB, free: 35.12 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.3625, allocations: 0.7051 MB / 444.6 MB, free: 34.43 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.441e-05/0.3625, allocations: 4.141 kB / 444.6 MB, free: 34.43 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.3626, allocations: 28.28 kB / 444.6 MB, free: 34.41 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3626, allocations: 0 / 444.6 MB, free: 34.41 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04569/0.4083, allocations: 25.25 MB / 469.8 MB, free: 14.49 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/0.4085, allocations: 233.2 kB / 470.1 MB, free: 14.25 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.56/2.968, allocations: 4 kB / 470.1 MB, free: 14.25 MB / 318.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_Transport_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_Transport.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe 2>&1) Environment - environmentSimulation: