Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.001522/0.001526, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.302/2.302, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001743/0.001743, allocations: 84.62 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3033/0.3033, allocations: 43.48 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.077e-05/2.097e-05, allocations: 224 / 418.4 MB, free: 40.92 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4082, allocations: 58.85 MB / 477.2 MB, free: 5.168 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1729/0.5812, allocations: 89.37 MB / 0.5533 GB, free: 9.832 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000376/0.5816, allocations: 99.92 kB / 0.5534 GB, free: 9.734 MB / 395.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5968:11-5971:69:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5973:11-5976:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5979:11-5982:67:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5984:11-5987:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.0169/0.5985, allocations: 3.469 MB / 0.5568 GB, free: 6.254 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5986, allocations: 3.938 kB / 0.5568 GB, free: 6.25 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.5986, allocations: 0 / 0.5568 GB, free: 6.25 MB / 395.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.0006842/0.5993, allocations: 398.9 kB / 0.5572 GB, free: 5.816 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.321e-05/0.5994, allocations: 12.03 kB / 0.5572 GB, free: 5.805 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003992/0.5998, allocations: 27.88 kB / 0.5572 GB, free: 5.777 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.6001, allocations: 194.9 kB / 0.5574 GB, free: 5.547 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.6001, allocations: 4 kB / 0.5574 GB, free: 5.543 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.6001, allocations: 8 kB / 0.5574 GB, free: 5.535 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003319/0.6005, allocations: 91.95 kB / 0.5575 GB, free: 5.445 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/0.6009, allocations: 143 kB / 0.5576 GB, free: 5.293 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.6009, allocations: 4 kB / 0.5576 GB, free: 5.289 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.6009, allocations: 0 / 0.5576 GB, free: 5.289 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.775e-05/0.601, allocations: 15.92 kB / 0.5576 GB, free: 5.273 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.6022, allocations: 0.6255 MB / 0.5582 GB, free: 4.59 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/0.6026, allocations: 90.64 kB / 0.5583 GB, free: 4.492 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.455e-05/0.6027, allocations: 20.86 kB / 0.5584 GB, free: 4.469 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.6028, allocations: 0 / 0.5584 GB, free: 4.469 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.6028, allocations: 34.56 kB / 0.5584 GB, free: 4.426 MB / 395.1 MB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.6028, allocations: 0 / 0.5584 GB, free: 4.426 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002971/0.6031, allocations: 85.52 kB / 0.5585 GB, free: 4.336 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.6032, allocations: 51.41 kB / 0.5585 GB, free: 4.273 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.6033, allocations: 110.6 kB / 0.5586 GB, free: 4.156 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.6034, allocations: 25.7 kB / 0.5586 GB, free: 4.125 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.6035, allocations: 194.2 kB / 0.5588 GB, free: 3.93 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.6036, allocations: 27.64 kB / 0.5589 GB, free: 3.902 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-06/0.6036, allocations: 0 / 0.5589 GB, free: 3.902 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6037, allocations: 310.8 kB / 0.5592 GB, free: 3.59 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.076e-05/0.6038, allocations: 31.98 kB / 0.5592 GB, free: 3.559 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.6039, allocations: 71.72 kB / 0.5593 GB, free: 3.461 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.6041, allocations: 43.97 kB / 0.5593 GB, free: 3.418 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.6041, allocations: 0 / 0.5593 GB, free: 3.418 MB / 395.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003444/0.6044, allocations: 125.5 kB / 0.5594 GB, free: 3.289 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.6045, allocations: 4 kB / 0.5594 GB, free: 3.285 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.6045, allocations: 4.25 kB / 0.5594 GB, free: 3.281 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.6045, allocations: 4 kB / 0.5594 GB, free: 3.277 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.6049, allocations: 43.92 kB / 0.5595 GB, free: 3.234 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.6049, allocations: 3.984 kB / 0.5595 GB, free: 3.23 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.6051, allocations: 15.94 kB / 0.5595 GB, free: 3.215 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.6051, allocations: 8 kB / 0.5595 GB, free: 3.207 MB / 395.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 () * 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.0001077/0.6053, allocations: 108.9 kB / 0.5596 GB, free: 3.094 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002183/0.6055, allocations: 81.53 kB / 0.5597 GB, free: 3.008 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.6055, allocations: 7.906 kB / 0.5597 GB, free: 3 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.6058, allocations: 98.2 kB / 0.5598 GB, free: 2.898 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.6058, allocations: 0 / 0.5598 GB, free: 2.898 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.6058, allocations: 0 / 0.5598 GB, free: 2.898 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.6059, allocations: 0 / 0.5598 GB, free: 2.898 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.6061, allocations: 170.1 kB / 0.5599 GB, free: 2.695 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.6062, allocations: 0 / 0.5599 GB, free: 2.695 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.6064, allocations: 39.92 kB / 0.56 GB, free: 2.656 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.6065, allocations: 3.984 kB / 0.56 GB, free: 2.652 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.6065, allocations: 0 / 0.56 GB, free: 2.652 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.6065, allocations: 0 / 0.56 GB, free: 2.652 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.6065, allocations: 4 kB / 0.56 GB, free: 2.648 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.6068, allocations: 171.4 kB / 0.5601 GB, free: 2.465 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.6069, allocations: 88.97 kB / 0.5602 GB, free: 2.359 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.6069, allocations: 7.938 kB / 0.5602 GB, free: 2.352 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.6071, allocations: 11.98 kB / 0.5603 GB, free: 2.34 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.6071, allocations: 11.91 kB / 0.5603 GB, free: 2.328 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.6072, allocations: 8 kB / 0.5603 GB, free: 2.32 MB / 395.1 MB Notification: Performance of sorting global known variables: time 8.58e-05/0.6073, allocations: 92.66 kB / 0.5604 GB, free: 2.23 MB / 395.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6073, allocations: 0 / 0.5604 GB, free: 2.23 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003693/0.6077, allocations: 27.84 kB / 0.5604 GB, free: 2.203 MB / 395.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 () * 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.0006597/0.6083, allocations: 0.7306 MB / 0.5611 GB, free: 1.449 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.6086, allocations: 71.84 kB / 0.5612 GB, free: 1.379 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.6086, allocations: 0 / 0.5612 GB, free: 1.379 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.081e-05/0.6087, allocations: 25.05 kB / 0.5612 GB, free: 1.355 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.6089, allocations: 15.83 kB / 0.5612 GB, free: 1.34 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006715/0.6096, allocations: 203.8 kB / 0.5614 GB, free: 1.094 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.61, allocations: 0.7197 MB / 0.5621 GB, free: 356 kB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.6101, allocations: 27.44 kB / 0.5621 GB, free: 328 kB / 395.1 MB Notification: Performance of SimCode: time 6.52e-07/0.6101, allocations: 0 / 0.5621 GB, free: 328 kB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.801/3.411, allocations: 1.919 MB / 0.564 GB, free: 14.41 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat