Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 172.8 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 221.5 MB / 230.7 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 99.53 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2229/0.2229, allocations: 44.14 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.827e-05/1.823e-05, allocations: 224 / 444.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1198, allocations: 61.93 MB / 0.4948 GB, free: 1.125 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3769/0.4967, allocations: 93.31 MB / 0.5859 GB, free: 3.004 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.497, allocations: 102.1 kB / 0.586 GB, free: 2.906 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5761:11-5762:124:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5774:11-5777:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5752:11-5759:48:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5765:11-5772:46:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.03156/0.5286, allocations: 10.48 MB / 0.5962 GB, free: 8.258 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.5287, allocations: 4 kB / 0.5963 GB, free: 8.254 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.5287, allocations: 8 kB / 0.5963 GB, free: 8.246 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.0008284/0.5295, allocations: 0.6545 MB / 0.5969 GB, free: 7.547 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.5296, allocations: 15.98 kB / 0.5969 GB, free: 7.531 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.055e-05/0.5297, allocations: 51.34 kB / 0.597 GB, free: 7.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.5301, allocations: 326.1 kB / 0.5973 GB, free: 7.121 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.5301, allocations: 16 kB / 0.5973 GB, free: 7.105 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.724e-05/0.5302, allocations: 28 kB / 0.5973 GB, free: 7.078 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007905/0.531, allocations: 0.6311 MB / 0.5979 GB, free: 6.445 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007765/0.5318, allocations: 0.5817 MB / 0.5985 GB, free: 5.855 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.5318, allocations: 7.922 kB / 0.5985 GB, free: 5.848 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/0.5318, allocations: 0 / 0.5985 GB, free: 5.848 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.806e-05/0.5319, allocations: 53.28 kB / 0.5986 GB, free: 5.793 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.5339, allocations: 1.578 MB / 0.6001 GB, free: 4.098 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004471/0.5344, allocations: 331.7 kB / 0.6004 GB, free: 3.766 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.5346, allocations: 117.3 kB / 0.6005 GB, free: 3.648 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.5346, allocations: 12.2 kB / 0.6005 GB, free: 3.637 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.5347, allocations: 46.73 kB / 0.6006 GB, free: 3.582 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 1.373e-06/0.5347, allocations: 0 / 0.6006 GB, free: 3.582 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005134/0.5352, allocations: 313.2 kB / 0.6009 GB, free: 3.273 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.5352, allocations: 55.41 kB / 0.6009 GB, free: 3.207 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.5354, allocations: 199 kB / 0.6011 GB, free: 3.004 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.5354, allocations: 25.7 kB / 0.6012 GB, free: 2.973 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.5356, allocations: 279.7 kB / 0.6014 GB, free: 2.695 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.714e-05/0.5357, allocations: 94.59 kB / 0.6015 GB, free: 2.602 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.716e-05/0.5357, allocations: 4 kB / 0.6015 GB, free: 2.598 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.5358, allocations: 334.8 kB / 0.6018 GB, free: 2.262 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.536, allocations: 119.7 kB / 0.6019 GB, free: 2.145 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/0.5362, allocations: 229.6 kB / 0.6022 GB, free: 1.871 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.5365, allocations: 164 kB / 0.6023 GB, free: 1.711 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.5365, allocations: 4 kB / 0.6023 GB, free: 1.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005618/0.537, allocations: 401.2 kB / 0.6027 GB, free: 1.309 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.5371, allocations: 8 kB / 0.6027 GB, free: 1.301 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.5371, allocations: 4 kB / 0.6027 GB, free: 1.297 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.5371, allocations: 4 kB / 0.6027 GB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005817/0.5377, allocations: 155.8 kB / 0.6029 GB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/0.5396, allocations: 3.626 MB / 0.6064 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.5398, allocations: 31.67 kB / 0.6064 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.5398, allocations: 23.98 kB / 0.6065 GB, free: 13.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.54, allocations: 124.9 kB / 0.6066 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004728/0.5404, allocations: 309.2 kB / 0.6069 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.925e-05/0.5405, allocations: 23.72 kB / 0.6069 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000865/0.5414, allocations: 488.2 kB / 0.6074 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.5414, allocations: 4 kB / 0.6074 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.5414, allocations: 4 kB / 0.6074 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.5414, allocations: 11.92 kB / 0.6074 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.5419, allocations: 385.7 kB / 0.6078 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.5419, allocations: 0 / 0.6078 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005354/0.5424, allocations: 139.8 kB / 0.6079 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.5424, allocations: 0 / 0.6079 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.5425, allocations: 11.98 kB / 0.6079 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/0.5444, allocations: 3.614 MB / 0.6114 GB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.5444, allocations: 0 / 0.6114 GB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007471/0.5451, allocations: 0.5938 MB / 0.612 GB, free: 7.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.5453, allocations: 156.7 kB / 0.6122 GB, free: 7.258 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.5454, allocations: 0 / 0.6122 GB, free: 7.258 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.5456, allocations: 7.984 kB / 0.6122 GB, free: 7.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/0.5456, allocations: 31.91 kB / 0.6122 GB, free: 7.219 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.5457, allocations: 15.98 kB / 0.6122 GB, free: 7.203 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.5458, allocations: 172.3 kB / 0.6124 GB, free: 7.031 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5458, allocations: 0 / 0.6124 GB, free: 7.031 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005678/0.5464, allocations: 179.2 kB / 0.6125 GB, free: 6.855 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001303/0.5477, allocations: 1.236 MB / 0.6138 GB, free: 5.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000801/0.5486, allocations: 359.6 kB / 0.6141 GB, free: 5.238 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5486, allocations: 0.9375 kB / 0.6141 GB, free: 5.238 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000505/0.5491, allocations: 211.8 kB / 0.6143 GB, free: 5.031 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.5493, allocations: 16.42 kB / 0.6143 GB, free: 5.016 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.5508, allocations: 0.823 MB / 0.6151 GB, free: 4.152 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/0.5513, allocations: 0.9125 MB / 0.616 GB, free: 3.215 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000337/0.5516, allocations: 123 kB / 0.6161 GB, free: 3.094 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.5518, allocations: 159.4 kB / 0.6163 GB, free: 2.938 MB / 426.7 MB Notification: Performance of SimCode: time 5.81e-07/0.5518, allocations: 3.938 kB / 0.6163 GB, free: 2.934 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.5797, allocations: 8.011 MB / 0.6241 GB, free: 10.95 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/0.5799, allocations: 202 kB / 0.6243 GB, free: 10.68 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.309/2.889, allocations: 0 / 0.6243 GB, free: 10.68 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat