Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001136/0.001136, allocations: 105.8 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 217.5 kB / 22.92 MB, free: 5.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 230.2 MB / 256.1 MB, free: 8.75 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2029/0.2029, allocations: 46.9 MB / 359.3 MB, free: 4.961 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-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.Utilities.TestFiles,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002147/0.002147, allocations: 79.86 kB / 0.494 GB, free: 9.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2577, allocations: 65.98 MB / 0.5584 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001538/0.2592, allocations: 484.4 kB / 0.5589 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.2612, allocations: 1.342 MB / 0.5602 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.028e-05/0.2613, allocations: 0 / 0.5602 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.29e-05/0.2613, allocations: 0 / 0.5602 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.2614, allocations: 15.92 kB / 0.5602 GB, free: 3.363 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Utilities.mo:455:3-487:12:writable] Warning: Pure function 'ModelicaTest.Utilities.Files' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.2624, allocations: 243.3 kB / 0.5604 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.03e-05/0.2625, allocations: 4 kB / 0.5604 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.253e-05/0.2625, allocations: 4 kB / 0.5604 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.325e-05/0.2625, allocations: 0 / 0.5604 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.617e-05/0.2626, allocations: 15.91 kB / 0.5604 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.502e-06/0.2626, allocations: 0 / 0.5604 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003727/0.2663, allocations: 0.6956 MB / 0.5611 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.913e-06/0.2663, allocations: 0 / 0.5611 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.484e-05/0.2664, allocations: 0 / 0.5611 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.2666, allocations: 177.6 kB / 0.5613 GB, free: 2.359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2666, allocations: 0 / 0.5613 GB, free: 2.359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2666, allocations: 0 / 0.5613 GB, free: 2.359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.2666, allocations: 0 / 0.5613 GB, free: 2.359 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003963/0.267, allocations: 392.7 kB / 0.5617 GB, free: 1.922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.267, allocations: 16.03 kB / 0.5617 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.606e-05/0.2671, allocations: 34.75 kB / 0.5617 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.95e-05/0.2671, allocations: 0.9375 kB / 0.5617 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.2672, allocations: 168.3 kB / 0.5619 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.2672, allocations: 8.312 kB / 0.5619 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-06/0.2672, allocations: 384 / 0.5619 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.077e-05/0.2673, allocations: 33.62 kB / 0.5619 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.2673, allocations: 0 / 0.5619 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.561e-06/0.2673, allocations: 4 kB / 0.5619 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-06/0.2673, allocations: 4 kB / 0.5619 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.35e-05/0.2673, allocations: 0 / 0.5619 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.2675, allocations: 145.7 kB / 0.5621 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.719e-05/0.2675, allocations: 22.52 kB / 0.5621 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.549e-05/0.2675, allocations: 8.844 kB / 0.5621 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.2675, allocations: 3.938 kB / 0.5621 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.2676, allocations: 60.33 kB / 0.5621 GB, free: 1.293 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.2676, allocations: 4 kB / 0.5621 GB, free: 1.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000149/0.2677, allocations: 59.41 kB / 0.5622 GB, free: 1.219 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.2678, allocations: 85.09 kB / 0.5623 GB, free: 1.117 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.324e-05/0.2679, allocations: 93.86 kB / 0.5624 GB, free: 1.016 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.2679, allocations: 25.7 kB / 0.5624 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/0.2679, allocations: 80.14 kB / 0.5625 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.237e-05/0.2679, allocations: 4 kB / 0.5625 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.2679, allocations: 9.969 kB / 0.5625 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.2681, allocations: 322.8 kB / 0.5628 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.001e-05/0.2681, allocations: 4 kB / 0.5628 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.345e-06/0.2681, allocations: 3.984 kB / 0.5628 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.059e-05/0.2681, allocations: 60.27 kB / 0.5629 GB, free: 488 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2681, allocations: 0 / 0.5629 GB, free: 488 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.476e-05/0.2682, allocations: 71.3 kB / 0.5629 GB, free: 404 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.2682, allocations: 29.7 kB / 0.563 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-06/0.2682, allocations: 4.094 kB / 0.563 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2683, allocations: 7.984 kB / 0.563 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.2683, allocations: 0 / 0.563 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.2683, allocations: 0 / 0.563 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.449e-05/0.2683, allocations: 0 / 0.563 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.2683, allocations: 3.938 kB / 0.563 GB, free: 352 kB / 398.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.84e-05/0.2684, allocations: 135.5 kB / 0.5631 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-06/0.2684, allocations: 3.938 kB / 0.5631 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.111e-06/0.2684, allocations: 7.062 kB / 0.5631 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.2684, allocations: 4 kB / 0.5631 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.2684, allocations: 3.938 kB / 0.5631 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.2684, allocations: 4 kB / 0.5631 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.2685, allocations: 149.7 kB / 0.5633 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2685, allocations: 3.938 kB / 0.5633 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.2685, allocations: 0 / 0.5633 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.2685, allocations: 0 / 0.5633 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.2685, allocations: 8 kB / 0.5633 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.2685, allocations: 0 / 0.5633 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.2685, allocations: 0 / 0.5633 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.2686, allocations: 94.83 kB / 0.5634 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.2687, allocations: 81.05 kB / 0.5634 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.2687, allocations: 0 / 0.5634 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.087e-05/0.2687, allocations: 4 kB / 0.5635 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.095e-05/0.2687, allocations: 7.922 kB / 0.5635 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.2687, allocations: 0 / 0.5635 GB, free: 15.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.814e-05/0.2687, allocations: 79.28 kB / 0.5635 GB, free: 15.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2687, allocations: 4.125 kB / 0.5635 GB, free: 15.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.269, allocations: 63.8 kB / 0.5636 GB, free: 15.6 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: 1 (result) * Number of discrete states: 1 (result) * 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: 1 * 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.001026/0.27, allocations: 0.8693 MB / 0.5644 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.281e-05/0.2701, allocations: 63.41 kB / 0.5645 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2701, allocations: 4 kB / 0.5645 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.244e-05/0.2702, allocations: 55.34 kB / 0.5646 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001157/0.2703, allocations: 6.812 kB / 0.5646 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.2706, allocations: 142.5 kB / 0.5647 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.2709, allocations: 0.669 MB / 0.5654 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.068e-05/0.2709, allocations: 4 kB / 0.5654 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.183e-05/0.2709, allocations: 7.438 kB / 0.5654 GB, free: 13.72 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2709, allocations: 4.125 kB / 0.5654 GB, free: 13.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03313/0.3041, allocations: 2.531 MB / 0.5678 GB, free: 11.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.158/7.462, allocations: 3.938 kB / 0.5679 GB, free: 11.25 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestFiles.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.020611283995095]