Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001537/0.001537, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001881/0.001881, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2207/0.2207, allocations: 46.12 MB / 344.2 MB, free: 11.6 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003237/0.003238, allocations: 82.95 kB / 417.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1183, allocations: 62.44 MB / 480.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001953/0.1203, allocations: 0.5291 MB / 480.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008432/0.1211, allocations: 409.5 kB / 481.1 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.851e-05/0.1212, allocations: 4 kB / 481.1 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.963e-05/0.1212, allocations: 3.938 kB / 481.1 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.577e-05/0.1213, allocations: 0 / 481.1 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005824/0.1218, allocations: 147.2 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.085e-05/0.1219, allocations: 23.92 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.766e-05/0.122, allocations: 4 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.858e-05/0.122, allocations: 15.98 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.609e-05/0.1221, allocations: 23.86 kB / 481.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.1221, allocations: 4 kB / 481.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002972/0.1224, allocations: 163.7 kB / 481.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.1224, allocations: 8 kB / 481.5 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.1225, allocations: 19.88 kB / 481.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.1227, allocations: 128 kB / 481.7 MB, free: 3.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1227, allocations: 0 / 481.7 MB, free: 3.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.453e-06/0.1227, allocations: 4 kB / 481.7 MB, free: 3.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1227, allocations: 0 / 481.7 MB, free: 3.695 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.0004715/0.1232, allocations: 351.6 kB / 482 MB, free: 3.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.1232, allocations: 16.03 kB / 482 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.987e-05/0.1233, allocations: 38.73 kB / 482.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.1233, allocations: 8.844 kB / 482.1 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.1235, allocations: 168.3 kB / 482.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.1235, allocations: 8.375 kB / 482.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.1235, allocations: 8.375 kB / 482.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.1237, allocations: 69.97 kB / 482.3 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1237, allocations: 3.906 kB / 482.3 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1237, allocations: 4 kB / 482.3 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1237, allocations: 0 / 482.3 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.632e-05/0.1238, allocations: 47.95 kB / 482.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002099/0.1241, allocations: 169.7 kB / 482.5 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.1242, allocations: 94.42 kB / 482.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.395e-05/0.1243, allocations: 24.84 kB / 482.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002669/0.1245, allocations: 109 kB / 482.8 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.1246, allocations: 42.48 kB / 482.8 MB, free: 2.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.1246, allocations: 0 / 482.8 MB, free: 2.367 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.1336/0.2582, allocations: 5.612 MB / 488.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.2583, allocations: 67.34 kB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.823e-05/0.2584, allocations: 93.84 kB / 488.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.2584, allocations: 29.7 kB / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.2584, allocations: 88.5 kB / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.479e-05/0.2585, allocations: 66.92 kB / 488.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.2586, allocations: 57.67 kB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2588, allocations: 326.8 kB / 489.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003636/0.2592, allocations: 119.9 kB / 489.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.2595, allocations: 114.9 kB / 489.4 MB, free: 11.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.261, allocations: 328.4 kB / 489.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.261, allocations: 0 / 489.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001237/0.2623, allocations: 354.6 kB / 490 MB, free: 11.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2623, allocations: 4 kB / 490 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2623, allocations: 0 / 490 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.2624, allocations: 4 kB / 490 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.2627, allocations: 79.86 kB / 490.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.2628, allocations: 7.984 kB / 490.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.263, allocations: 27.91 kB / 490.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.263, allocations: 11.98 kB / 490.2 MB, free: 10.92 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.2631, allocations: 125.8 kB / 490.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.2632, allocations: 7.906 kB / 490.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.2647, allocations: 433 kB / 490.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2647, allocations: 0 / 490.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.2647, allocations: 4 kB / 490.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.2647, allocations: 3.938 kB / 490.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/0.267, allocations: 0.7837 MB / 491.5 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.267, allocations: 4 kB / 491.5 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/0.2673, allocations: 75.94 kB / 491.6 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2674, allocations: 0 / 491.6 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.2674, allocations: 15.98 kB / 491.6 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.2674, allocations: 4 kB / 491.6 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2674, allocations: 0 / 491.6 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.2686, allocations: 428.6 kB / 492 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.2687, allocations: 89 kB / 492.1 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.2687, allocations: 4 kB / 492.1 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.2689, allocations: 31.95 kB / 492.1 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.2689, allocations: 11.98 kB / 492.2 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.269, allocations: 19.92 kB / 492.2 MB, free: 8.789 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.54e-05/0.269, allocations: 79.22 kB / 492.3 MB, free: 8.711 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.269, allocations: 0 / 492.3 MB, free: 8.711 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001652/0.2707, allocations: 0.6289 MB / 492.9 MB, free: 8.082 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004578/0.2753, allocations: 1.139 MB / 494 MB, free: 6.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008941/0.2762, allocations: 273 kB / 494.3 MB, free: 6.645 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2762, allocations: 0 / 494.3 MB, free: 6.645 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003729/0.2766, allocations: 127.8 kB / 494.4 MB, free: 6.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.2769, allocations: 8.125 kB / 494.4 MB, free: 6.512 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.2787, allocations: 432.7 kB / 494.8 MB, free: 6.043 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.279, allocations: 0.697 MB / 495.5 MB, free: 5.316 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003109/0.2793, allocations: 81.08 kB / 495.6 MB, free: 5.238 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.2795, allocations: 55.39 kB / 495.7 MB, free: 5.184 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2795, allocations: 4 kB / 495.7 MB, free: 5.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2528/0.5323, allocations: 55.02 MB / 0.5378 GB, free: 19.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.46/8.992, allocations: 9.547 kB / 0.5378 GB, free: 19.01 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1)