Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",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.001145/0.001145, allocations: 96.2 kB / 15.68 MB, free: 488 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.001308/0.001308, allocations: 175.5 kB / 16.56 MB, free: 6.375 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.391/1.391, allocations: 205.4 MB / 222.7 MB, free: 5.613 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.3499/0.3499, allocations: 43.54 MB / 314.5 MB, free: 8.848 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.0005717/0.000572, allocations: 16 kB / 384 MB, free: 7.938 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1386, allocations: 58.85 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0007369/0.1394, allocations: 271 kB / 443.1 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008085/0.1403, allocations: 384.9 kB / 443.5 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.11e-05/0.1403, allocations: 0 / 443.5 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.227e-05/0.1403, allocations: 0 / 443.5 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.719e-05/0.1404, allocations: 4 kB / 443.5 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.1408, allocations: 99.69 kB / 443.6 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.785e-05/0.1409, allocations: 15.98 kB / 443.6 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.671e-05/0.1409, allocations: 4 kB / 443.6 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.983e-05/0.141, allocations: 23.86 kB / 443.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.434e-05/0.141, allocations: 15.92 kB / 443.6 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.141, allocations: 4 kB / 443.6 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002396/0.1413, allocations: 147.8 kB / 443.8 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.1413, allocations: 11.98 kB / 443.8 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.1414, allocations: 33.64 kB / 443.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.1415, allocations: 84.09 kB / 443.9 MB, free: 11.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1415, allocations: 0 / 443.9 MB, free: 11.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1415, allocations: 0 / 443.9 MB, free: 11.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1415, allocations: 0 / 443.9 MB, free: 11.9 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003819/0.1419, allocations: 351.3 kB / 444.3 MB, free: 11.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.142, allocations: 8.031 kB / 444.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.042e-05/0.142, allocations: 42.55 kB / 444.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/0.1421, allocations: 7.859 kB / 444.3 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.1422, allocations: 171 kB / 444.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1422, allocations: 7.875 kB / 444.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.1423, allocations: 12 kB / 444.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.1424, allocations: 61.67 kB / 444.6 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1424, allocations: 3.984 kB / 444.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1424, allocations: 7.984 kB / 444.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1425, allocations: 4 kB / 444.6 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.311e-05/0.1426, allocations: 39.92 kB / 444.6 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002079/0.1428, allocations: 181.6 kB / 444.8 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.1429, allocations: 86.42 kB / 444.9 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002836/0.1432, allocations: 109.1 kB / 445 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.1433, allocations: 30.56 kB / 445 MB, free: 10.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.1433, allocations: 4 kB / 445 MB, free: 10.61 MB / 382.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1312/0.2745, allocations: 5.84 MB / 450.9 MB, free: 4.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.2746, allocations: 55.41 kB / 450.9 MB, free: 4.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.785e-05/0.2747, allocations: 89.86 kB / 451 MB, free: 4.562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.2748, allocations: 37.83 kB / 451 MB, free: 4.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.2748, allocations: 80.52 kB / 451.1 MB, free: 4.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.388e-05/0.2749, allocations: 82.83 kB / 451.2 MB, free: 4.352 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.692e-05/0.2749, allocations: 0 / 451.2 MB, free: 4.352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.2751, allocations: 318.8 kB / 451.5 MB, free: 4.031 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/0.2755, allocations: 131.9 kB / 451.6 MB, free: 3.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004038/0.2759, allocations: 147.7 kB / 451.8 MB, free: 3.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007043/0.2766, allocations: 175.9 kB / 452 MB, free: 3.586 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2766, allocations: 3.938 kB / 452 MB, free: 3.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001207/0.2779, allocations: 405.8 kB / 452.4 MB, free: 3.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.2779, allocations: 7.281 kB / 452.4 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.2779, allocations: 3.953 kB / 452.4 MB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.2779, allocations: 0 / 452.4 MB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/0.2783, allocations: 99.84 kB / 452.5 MB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.2784, allocations: 0 / 452.5 MB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.2786, allocations: 39.97 kB / 452.5 MB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.2786, allocations: 11.98 kB / 452.5 MB, free: 3.023 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001294/0.2787, allocations: 121.8 kB / 452.6 MB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.2788, allocations: 7.906 kB / 452.6 MB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/0.2803, allocations: 489.8 kB / 453.1 MB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.2803, allocations: 7.953 kB / 453.1 MB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2803, allocations: 0 / 453.1 MB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2803, allocations: 0 / 453.1 MB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/0.2827, allocations: 0.866 MB / 454 MB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2827, allocations: 0 / 454 MB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.283, allocations: 87.94 kB / 454.1 MB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.283, allocations: 7.984 kB / 454.1 MB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.283, allocations: 12 kB / 454.1 MB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.283, allocations: 0 / 454.1 MB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.283, allocations: 3.984 kB / 454.1 MB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.2843, allocations: 492.2 kB / 454.6 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.059e-05/0.2843, allocations: 84.95 kB / 454.7 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.2844, allocations: 15.98 kB / 454.7 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.2846, allocations: 35.97 kB / 454.7 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.445e-05/0.2846, allocations: 19.88 kB / 454.7 MB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.2847, allocations: 11.98 kB / 454.7 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.651e-05/0.2847, allocations: 91.22 kB / 454.8 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2847, allocations: 0 / 454.8 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.3016/0.5864, allocations: 0.6243 MB / 455.5 MB, free: 44.46 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.004624/0.591, allocations: 1.354 MB / 456.8 MB, free: 43.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008774/0.5919, allocations: 304.7 kB / 457.1 MB, free: 43.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.592, allocations: 2.938 kB / 457.1 MB, free: 43.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.5923, allocations: 150.5 kB / 457.3 MB, free: 43.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.5925, allocations: 5.656 kB / 457.3 MB, free: 43.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.5942, allocations: 0.4901 MB / 457.8 MB, free: 43.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.5944, allocations: 0.6997 MB / 458.5 MB, free: 42.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002889/0.5947, allocations: 75.55 kB / 458.5 MB, free: 42.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.5948, allocations: 59.06 kB / 458.6 MB, free: 42.71 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5948, allocations: 0 / 458.6 MB, free: 42.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09589/0.6907, allocations: 54.76 MB / 0.5013 GB, free: 19.38 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/0.6909, allocations: 202 kB / 0.5015 GB, free: 19.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.21/2.901, allocations: 2.297 kB / 0.5015 GB, free: 19.14 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat