Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_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.001099/0.0011, allocations: 96.86 kB / 15.7 MB, free: 468 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.001587/0.001588, allocations: 173.6 kB / 16.58 MB, free: 6.055 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.406/1.406, allocations: 205.4 MB / 222.8 MB, free: 5.629 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.3952/0.3952, allocations: 43.54 MB / 314.6 MB, free: 8.738 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.0005543/0.0005546, allocations: 12 kB / 384.1 MB, free: 7.883 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.143, allocations: 58.85 MB / 442.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.001967/0.145, allocations: 1.489 MB / 444.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.1469, allocations: 1.268 MB / 445.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.191e-05/0.147, allocations: 4 kB / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001778/0.1472, allocations: 35.83 kB / 445.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.1474, allocations: 43.69 kB / 445.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.1478, allocations: 203.3 kB / 445.9 MB, free: 9.867 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.1479, allocations: 95.44 kB / 446 MB, free: 9.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.303e-05/0.148, allocations: 17.09 kB / 446 MB, free: 9.754 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.1481, allocations: 39.8 kB / 446.1 MB, free: 9.715 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.905e-05/0.1482, allocations: 55.69 kB / 446.1 MB, free: 9.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.1482, allocations: 4 kB / 446.1 MB, free: 9.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006462/0.1489, allocations: 475 kB / 446.6 MB, free: 9.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.1489, allocations: 23.91 kB / 446.6 MB, free: 9.168 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.149, allocations: 41.64 kB / 446.7 MB, free: 9.121 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003272/0.1493, allocations: 211.8 kB / 446.9 MB, free: 8.914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1493, allocations: 0 / 446.9 MB, free: 8.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1493, allocations: 0 / 446.9 MB, free: 8.914 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1493, allocations: 0 / 446.9 MB, free: 8.914 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005682/0.1499, allocations: 431 kB / 447.3 MB, free: 8.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.15, allocations: 16.03 kB / 447.3 MB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.047e-05/0.15, allocations: 46.55 kB / 447.4 MB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.1501, allocations: 19.77 kB / 447.4 MB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.1502, allocations: 171 kB / 447.5 MB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1503, allocations: 8 kB / 447.6 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.1503, allocations: 12 kB / 447.6 MB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.1506, allocations: 146.4 kB / 447.7 MB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1506, allocations: 0 / 447.7 MB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.1507, allocations: 12 kB / 447.7 MB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.1507, allocations: 0 / 447.7 MB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003028/0.151, allocations: 155.8 kB / 447.9 MB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008809/0.1519, allocations: 0.5066 MB / 448.4 MB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.1521, allocations: 106.6 kB / 448.5 MB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.1523, allocations: 52.83 kB / 448.5 MB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.1523, allocations: 4 kB / 448.5 MB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.1524, allocations: 38.5 kB / 448.6 MB, free: 7.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.1524, allocations: 0 / 448.6 MB, free: 7.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004669/0.1528, allocations: 177.5 kB / 448.8 MB, free: 6.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.1529, allocations: 63.3 kB / 448.8 MB, free: 6.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.11e-05/0.153, allocations: 114 kB / 448.9 MB, free: 6.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.153, allocations: 29.7 kB / 449 MB, free: 6.613 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.735e-05/0.1531, allocations: 111.7 kB / 449.1 MB, free: 6.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.824e-05/0.1532, allocations: 43.38 kB / 449.1 MB, free: 6.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-06/0.1532, allocations: 4 kB / 449.1 MB, free: 6.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1533, allocations: 322.8 kB / 449.4 MB, free: 6.129 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.1534, allocations: 39.97 kB / 449.5 MB, free: 6.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.1536, allocations: 89.06 kB / 449.5 MB, free: 5.984 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.1537, allocations: 51.97 kB / 449.6 MB, free: 5.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.1537, allocations: 4 kB / 449.6 MB, free: 5.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003085/0.154, allocations: 169.5 kB / 449.8 MB, free: 5.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.1541, allocations: 4 kB / 449.8 MB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1541, allocations: 0 / 449.8 MB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1541, allocations: 4 kB / 449.8 MB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.1543, allocations: 47.91 kB / 449.8 MB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003542/0.1547, allocations: 0.5978 MB / 450.4 MB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.42e-05/0.1548, allocations: 15.92 kB / 450.4 MB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.1548, allocations: 8 kB / 450.4 MB, free: 5.059 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * 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): 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.0001015/0.1549, allocations: 125.8 kB / 450.6 MB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.1549, allocations: 7.906 kB / 450.6 MB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004046/0.1553, allocations: 190.2 kB / 450.8 MB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1553, allocations: 4 kB / 450.8 MB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1554, allocations: 4 kB / 450.8 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.1554, allocations: 0 / 450.8 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.1556, allocations: 213.5 kB / 451 MB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1556, allocations: 0 / 451 MB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.1558, allocations: 47.91 kB / 451 MB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1558, allocations: 4 kB / 451 MB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.1558, allocations: 0 / 451 MB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000323/0.1562, allocations: 0.5938 MB / 451.6 MB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1562, allocations: 0 / 451.6 MB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004617/0.1567, allocations: 311.4 kB / 451.9 MB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.517e-05/0.1567, allocations: 96.98 kB / 452 MB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.1568, allocations: 4 kB / 452 MB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1569, allocations: 11.98 kB / 452 MB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.1569, allocations: 11.98 kB / 452 MB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.1569, allocations: 8 kB / 452.1 MB, free: 3.328 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.317e-05/0.157, allocations: 87.33 kB / 452.1 MB, free: 3.242 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.157, allocations: 288 / 452.1 MB, free: 3.242 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003701/0.1574, allocations: 87.77 kB / 452.2 MB, free: 3.156 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * 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.000888/0.1583, allocations: 0.9039 MB / 453.1 MB, free: 2.223 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003706/0.1586, allocations: 132.1 kB / 453.3 MB, free: 2.094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1587, allocations: 4.062 kB / 453.3 MB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.1589, allocations: 79.89 kB / 453.3 MB, free: 2.012 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.1592, allocations: 15.92 kB / 453.4 MB, free: 1.996 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.1605, allocations: 0.8136 MB / 454.2 MB, free: 1.125 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.1608, allocations: 0.7004 MB / 454.9 MB, free: 408 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.794e-05/0.1609, allocations: 20.41 kB / 454.9 MB, free: 388 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.729e-05/0.161, allocations: 35.61 kB / 454.9 MB, free: 352 kB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.161, allocations: 3.938 kB / 454.9 MB, free: 348 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2596/0.4205, allocations: 3.4 MB / 458.3 MB, free: 45.55 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.4208, allocations: 262.8 kB / 458.6 MB, free: 45.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.929/2.35, allocations: 3.953 kB / 458.6 MB, free: 45.2 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat