Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",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.0009683/0.0009687, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 178.7 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.4 MB / 222.7 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3918/0.3918, allocations: 43.54 MB / 314.5 MB, free: 8.75 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: Performance of FrontEnd - loaded program: time 0.0005622/0.0005623, allocations: 20 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.153, allocations: 58.86 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002234/0.1553, allocations: 1.444 MB / 444.3 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1565, allocations: 0.7417 MB / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.887e-05/0.1566, allocations: 4 kB / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.1568, allocations: 31.77 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.1571, allocations: 63.83 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.1573, allocations: 51.86 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.1574, allocations: 83.8 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.134e-05/0.1575, allocations: 19.84 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.1577, allocations: 47.83 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.1578, allocations: 59.8 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.1579, allocations: 4 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.158, allocations: 67.95 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.435e-05/0.1581, allocations: 27.91 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.785e-05/0.1582, allocations: 41.64 kB / 445.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.1585, allocations: 83.81 kB / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1585, allocations: 0 / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1585, allocations: 0 / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1585, allocations: 0 / 445.6 MB, free: 10.16 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000661/0.1592, allocations: 399 kB / 446 MB, free: 9.723 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6e-05/0.1593, allocations: 12.03 kB / 446 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.887e-05/0.1593, allocations: 42.56 kB / 446.1 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003822/0.1597, allocations: 39.81 kB / 446.1 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.16, allocations: 186.9 kB / 446.3 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.16, allocations: 4 kB / 446.3 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.16, allocations: 15.98 kB / 446.3 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004461/0.1605, allocations: 184.1 kB / 446.5 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1605, allocations: 3.938 kB / 446.5 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.1606, allocations: 4 kB / 446.5 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-05/0.1606, allocations: 8 kB / 446.5 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004785/0.1611, allocations: 151.8 kB / 446.7 MB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.1624, allocations: 0.6446 MB / 447.3 MB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/0.1628, allocations: 110.6 kB / 447.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.1628, allocations: 4 kB / 447.4 MB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.1629, allocations: 34.56 kB / 447.5 MB, free: 8.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.1629, allocations: 0 / 447.5 MB, free: 8.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005182/0.1634, allocations: 157.6 kB / 447.6 MB, free: 7.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.1635, allocations: 55.34 kB / 447.7 MB, free: 7.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.1636, allocations: 129.9 kB / 447.8 MB, free: 7.777 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.1637, allocations: 29.7 kB / 447.8 MB, free: 7.742 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.1638, allocations: 123.9 kB / 447.9 MB, free: 7.617 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.1638, allocations: 19.66 kB / 448 MB, free: 7.598 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.1638, allocations: 8 kB / 448 MB, free: 7.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.164, allocations: 322.8 kB / 448.3 MB, free: 7.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.1642, allocations: 35.97 kB / 448.3 MB, free: 7.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.1644, allocations: 99.69 kB / 448.4 MB, free: 7.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.1645, allocations: 59.91 kB / 448.5 MB, free: 7.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1645, allocations: 0 / 448.5 MB, free: 7.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003846/0.1649, allocations: 169.4 kB / 448.6 MB, free: 6.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.165, allocations: 4 kB / 448.6 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.165, allocations: 4 kB / 448.7 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3e-05/0.165, allocations: 4 kB / 448.7 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.1652, allocations: 39.97 kB / 448.7 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.1652, allocations: 7.938 kB / 448.7 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.1653, allocations: 24.06 kB / 448.7 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.1654, allocations: 15.89 kB / 448.7 MB, free: 6.777 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001308/0.1655, allocations: 125.8 kB / 448.9 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.1655, allocations: 7.906 kB / 448.9 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004776/0.166, allocations: 138.3 kB / 449 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.166, allocations: 4 kB / 449 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.1661, allocations: 0 / 449 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1661, allocations: 0 / 449 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.1663, allocations: 209.5 kB / 449.2 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1663, allocations: 0 / 449.2 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.1665, allocations: 31.98 kB / 449.2 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1665, allocations: 0 / 449.2 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.1665, allocations: 0 / 449.2 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1665, allocations: 80 / 449.2 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1665, allocations: 7.922 kB / 449.3 MB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.1669, allocations: 231.3 kB / 449.5 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.725e-05/0.167, allocations: 85.02 kB / 449.6 MB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.167, allocations: 4 kB / 449.6 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.1671, allocations: 11.98 kB / 449.6 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.1672, allocations: 7.969 kB / 449.6 MB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.1672, allocations: 4 kB / 449.6 MB, free: 5.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.791e-05/0.1673, allocations: 91.27 kB / 449.7 MB, free: 5.742 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1673, allocations: 4 kB / 449.7 MB, free: 5.738 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002879/0.1676, allocations: 24 kB / 449.7 MB, free: 5.715 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007266/0.1683, allocations: 0.7552 MB / 450.5 MB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002985/0.1686, allocations: 108.4 kB / 450.6 MB, free: 4.824 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1686, allocations: 0 / 450.6 MB, free: 4.824 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.1688, allocations: 55.89 kB / 450.6 MB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.169, allocations: 0 / 450.6 MB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.1711, allocations: 1.971 MB / 452.6 MB, free: 2.711 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.1715, allocations: 0.7121 MB / 453.3 MB, free: 1.973 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.1717, allocations: 28.53 kB / 453.3 MB, free: 1.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.684e-05/0.1717, allocations: 27.42 kB / 453.4 MB, free: 1.918 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1717, allocations: 0 / 453.4 MB, free: 1.918 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2391/0.4109, allocations: 1.973 MB / 455.3 MB, free: 46 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/0.4111, allocations: 223.9 kB / 455.6 MB, free: 45.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.355, allocations: 0 / 455.6 MB, free: 45.77 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat