Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 120.4 kB / 17.79 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 203.3 kB / 20.74 MB, free: 2.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2254/0.2254, allocations: 46.93 MB / 357.1 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 64.14 kB / 0.4909 GB, free: 8.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1262, allocations: 66 MB / 0.5554 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001601/0.1278, allocations: 0.4892 MB / 0.5558 GB, free: 5.426 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.1298, allocations: 1.411 MB / 0.5572 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.1298, allocations: 0 / 0.5572 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.1298, allocations: 0 / 0.5572 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 3.028e-05/0.1298, allocations: 4 kB / 0.5572 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006834/0.1305, allocations: 219.4 kB / 0.5574 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.799e-05/0.1306, allocations: 11.98 kB / 0.5574 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.703e-05/0.1306, allocations: 8 kB / 0.5574 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.954e-05/0.1306, allocations: 3.984 kB / 0.5574 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.707e-05/0.1307, allocations: 4 kB / 0.5575 GB, free: 3.754 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.1307, allocations: 0 / 0.5575 GB, free: 3.754 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004294/0.1311, allocations: 275.6 kB / 0.5577 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.1311, allocations: 7.938 kB / 0.5577 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.682e-05/0.1311, allocations: 0 / 0.5577 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.1313, allocations: 139.6 kB / 0.5579 GB, free: 3.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1313, allocations: 0 / 0.5579 GB, free: 3.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1313, allocations: 7.938 kB / 0.5579 GB, free: 3.332 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.1313, allocations: 4 kB / 0.5579 GB, free: 3.328 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003915/0.1317, allocations: 331.4 kB / 0.5582 GB, free: 2.957 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1318, allocations: 12.03 kB / 0.5582 GB, free: 2.945 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.959e-05/0.1318, allocations: 38.69 kB / 0.5582 GB, free: 2.898 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.925e-05/0.1318, allocations: 8.891 kB / 0.5582 GB, free: 2.891 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.132, allocations: 168.3 kB / 0.5584 GB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.132, allocations: 4.375 kB / 0.5584 GB, free: 2.684 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.132, allocations: 384 / 0.5584 GB, free: 2.684 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.1321, allocations: 45.81 kB / 0.5584 GB, free: 2.633 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1321, allocations: 0 / 0.5584 GB, free: 2.633 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1321, allocations: 0 / 0.5584 GB, free: 2.633 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1321, allocations: 4 kB / 0.5585 GB, free: 2.629 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.6e-05/0.1322, allocations: 7.938 kB / 0.5585 GB, free: 2.621 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.1325, allocations: 240.9 kB / 0.5587 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.851e-05/0.1326, allocations: 18.58 kB / 0.5587 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.658e-05/0.1326, allocations: 8.859 kB / 0.5587 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.1326, allocations: 4.062 kB / 0.5587 GB, free: 2.293 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.1326, allocations: 30.56 kB / 0.5587 GB, free: 2.254 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1326, allocations: 0 / 0.5587 GB, free: 2.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001425/0.1328, allocations: 33.64 kB / 0.5588 GB, free: 2.215 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.1328, allocations: 59.39 kB / 0.5588 GB, free: 2.145 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.509e-05/0.1329, allocations: 97.92 kB / 0.5589 GB, free: 2.039 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1329, allocations: 29.83 kB / 0.559 GB, free: 2.004 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.133, allocations: 88.09 kB / 0.559 GB, free: 1.914 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.752e-06/0.133, allocations: 3.953 kB / 0.559 GB, free: 1.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.133, allocations: 17.72 kB / 0.5591 GB, free: 1.887 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1332, allocations: 318.8 kB / 0.5594 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.229e-05/0.1332, allocations: 0 / 0.5594 GB, free: 1.566 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.816e-05/0.1332, allocations: 18.58 kB / 0.5594 GB, free: 1.539 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.053e-05/0.1332, allocations: 34.52 kB / 0.5594 GB, free: 1.496 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1332, allocations: 0 / 0.5594 GB, free: 1.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.472e-05/0.1333, allocations: 49.62 kB / 0.5595 GB, free: 1.441 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1333, allocations: 4 kB / 0.5595 GB, free: 1.438 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1333, allocations: 4 kB / 0.5595 GB, free: 1.434 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1333, allocations: 96 / 0.5595 GB, free: 1.434 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.076e-05/0.1334, allocations: 8 kB / 0.5595 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.1334, allocations: 0 / 0.5595 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.242e-05/0.1334, allocations: 7.984 kB / 0.5595 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.1334, allocations: 0 / 0.5595 GB, free: 1.418 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 8.034e-05/0.1335, allocations: 117.7 kB / 0.5596 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.1335, allocations: 4 kB / 0.5596 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.1336, allocations: 52.83 kB / 0.5597 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1336, allocations: 0 / 0.5597 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1336, allocations: 0 / 0.5597 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.1336, allocations: 0 / 0.5597 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.1338, allocations: 157.6 kB / 0.5598 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1338, allocations: 0 / 0.5598 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.1338, allocations: 0 / 0.5598 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1338, allocations: 0 / 0.5598 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1338, allocations: 7.984 kB / 0.5598 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1338, allocations: 4 kB / 0.5598 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.1338, allocations: 0 / 0.5598 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.1339, allocations: 135.5 kB / 0.5599 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.134, allocations: 77.11 kB / 0.56 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.467e-06/0.134, allocations: 0 / 0.56 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.059e-05/0.134, allocations: 3.984 kB / 0.56 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/0.1341, allocations: 4 kB / 0.56 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.1341, allocations: 4 kB / 0.56 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.989e-05/0.1341, allocations: 79.31 kB / 0.5601 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1341, allocations: 0 / 0.5601 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003646/0.1345, allocations: 39.94 kB / 0.5601 GB, free: 0.6484 MB / 414.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007368/0.1352, allocations: 0.7122 MB / 0.5608 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.374e-05/0.1353, allocations: 12.12 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1353, allocations: 0 / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.548e-05/0.1353, allocations: 29.7 kB / 0.5609 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.1355, allocations: 0 / 0.5609 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.136, allocations: 126.6 kB / 0.561 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.1363, allocations: 0.6768 MB / 0.5617 GB, free: 14.99 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.071e-05/0.1363, allocations: 256 / 0.5617 GB, free: 14.99 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.048e-05/0.1364, allocations: 11.44 kB / 0.5617 GB, free: 14.98 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1364, allocations: 0 / 0.5617 GB, free: 14.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.1598, allocations: 1.85 MB / 0.5635 GB, free: 13.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.864/8.024, allocations: 2.344 kB / 0.5635 GB, free: 13.21 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_Test02RegFun3.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.143281326003489] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'a', 'b'] 8.092641305993311 8.120397297 7.983993044 Calling exit ...