Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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 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) 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_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_0_0_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.0009741/0.0009738, allocations: 95.48 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 180.8 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 241.8 MB, free: 388 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.202/0.202, allocations: 44.22 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003517, allocations: 12 kB / 409.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1156, allocations: 61.92 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0006709/0.1163, allocations: 254.8 kB / 471.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007751/0.1171, allocations: 381.1 kB / 472.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.504e-05/0.1172, allocations: 0 / 472.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.147e-05/0.1172, allocations: 0 / 472.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.367e-05/0.1172, allocations: 4 kB / 472.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.1177, allocations: 107.6 kB / 472.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.245e-05/0.1177, allocations: 12 kB / 472.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.099e-05/0.1178, allocations: 3.984 kB / 472.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.362e-05/0.1178, allocations: 15.94 kB / 472.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.247e-05/0.1178, allocations: 23.91 kB / 472.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.1179, allocations: 0 / 472.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/0.1182, allocations: 151.8 kB / 472.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.707e-06/0.1182, allocations: 0 / 472.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.138e-05/0.1182, allocations: 37.64 kB / 472.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.1183, allocations: 79.88 kB / 472.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1184, allocations: 4 kB / 472.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1184, allocations: 0 / 472.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.1184, allocations: 0 / 472.6 MB, free: 12.61 MB / 350.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.0003716/0.1188, allocations: 355.6 kB / 472.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1188, allocations: 8.031 kB / 472.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.021e-05/0.1188, allocations: 34.56 kB / 473 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.301e-05/0.1189, allocations: 11.84 kB / 473 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.119, allocations: 163 kB / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.119, allocations: 11.89 kB / 473.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.119, allocations: 19.92 kB / 473.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.1192, allocations: 61.17 kB / 473.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1192, allocations: 7.906 kB / 473.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1192, allocations: 4 kB / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1192, allocations: 0 / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.607e-05/0.1193, allocations: 43.95 kB / 473.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.1195, allocations: 177.6 kB / 473.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.1196, allocations: 90.42 kB / 473.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002803/0.1199, allocations: 117 kB / 473.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.1199, allocations: 30.56 kB / 473.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.1199, allocations: 0 / 473.7 MB, free: 11.31 MB / 350.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.1339/0.2539, allocations: 5.844 MB / 479.5 MB, free: 5.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.254, allocations: 55.41 kB / 479.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.416e-05/0.254, allocations: 89.86 kB / 479.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.2541, allocations: 29.7 kB / 479.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.2541, allocations: 84.5 kB / 479.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.731e-05/0.2542, allocations: 82.98 kB / 479.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/0.2542, allocations: 0 / 479.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.2544, allocations: 322.8 kB / 480.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/0.2548, allocations: 135.9 kB / 480.3 MB, free: 4.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/0.2551, allocations: 139.9 kB / 480.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007459/0.2559, allocations: 174.1 kB / 480.6 MB, free: 4.297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2559, allocations: 4 kB / 480.6 MB, free: 4.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00126/0.2572, allocations: 401.1 kB / 481 MB, free: 3.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2572, allocations: 8 kB / 481 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.2572, allocations: 3.984 kB / 481 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2572, allocations: 0 / 481 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.2576, allocations: 87.92 kB / 481.1 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.2577, allocations: 11.92 kB / 481.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.2579, allocations: 35.97 kB / 481.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.2579, allocations: 19.97 kB / 481.2 MB, free: 3.73 MB / 350.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.0001094/0.258, allocations: 122.3 kB / 481.3 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.2581, allocations: 7.906 kB / 481.3 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/0.2596, allocations: 489.4 kB / 481.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.2596, allocations: 0 / 481.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2596, allocations: 0 / 481.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2596, allocations: 3.984 kB / 481.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002344/0.262, allocations: 0.872 MB / 482.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.262, allocations: 0 / 482.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.2623, allocations: 95.86 kB / 482.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.2623, allocations: 3.953 kB / 482.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.2623, allocations: 15.98 kB / 482.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.2623, allocations: 4 kB / 482.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2623, allocations: 0 / 482.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.2636, allocations: 488.2 kB / 483.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/0.2636, allocations: 88.95 kB / 483.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.2637, allocations: 4 kB / 483.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.2639, allocations: 39.97 kB / 483.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.2639, allocations: 19.91 kB / 483.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.264, allocations: 12 kB / 483.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.323e-05/0.264, allocations: 79.27 kB / 483.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.264, allocations: 96 / 483.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001751/0.2658, allocations: 0.6327 MB / 484.1 MB, free: 0.6562 MB / 350.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.004453/0.2702, allocations: 1.354 MB / 485.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009004/0.2712, allocations: 305.6 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2712, allocations: 0 / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003787/0.2716, allocations: 156.9 kB / 485.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.2717, allocations: 15.94 kB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.2736, allocations: 0.4946 MB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.2739, allocations: 0.7017 MB / 487.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003115/0.2743, allocations: 81.08 kB / 487.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.2744, allocations: 55.39 kB / 487.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2744, allocations: 0 / 487.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4644/0.7388, allocations: 54.74 MB / 0.5293 GB, free: 32.65 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/0.7391, allocations: 214.4 kB / 0.5295 GB, free: 32.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.121/2.86, allocations: 3.75 kB / 0.5295 GB, free: 32.39 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat