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.00187/0.00187, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.00234/0.00234, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.512/1.512, allocations: 230.5 MB / 258.2 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] 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.2307/0.2307, allocations: 46.93 MB / 361.6 MB, free: 4.219 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.002354/0.002354, allocations: 75.88 kB / 0.4969 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.328, allocations: 66.08 MB / 0.5615 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001668/0.3297, allocations: 496.9 kB / 0.562 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.332, allocations: 1.369 MB / 0.5633 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.3321, allocations: 0 / 0.5633 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.3321, allocations: 0 / 0.5633 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.3323, allocations: 11.94 kB / 0.5633 GB, free: 2.484 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.001135/0.3334, allocations: 264.7 kB / 0.5636 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.849e-05/0.3334, allocations: 4 kB / 0.5636 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.613e-05/0.3335, allocations: 3.984 kB / 0.5636 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.619e-05/0.3335, allocations: 0 / 0.5636 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.018e-05/0.3336, allocations: 19.48 kB / 0.5636 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.664e-06/0.3336, allocations: 3.938 kB / 0.5636 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004116/0.3377, allocations: 0.7416 MB / 0.5643 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.3377, allocations: 0 / 0.5643 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.3378, allocations: 0 / 0.5643 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.3381, allocations: 185.7 kB / 0.5645 GB, free: 1.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3381, allocations: 0 / 0.5645 GB, free: 1.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3381, allocations: 0 / 0.5645 GB, free: 1.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.3381, allocations: 0 / 0.5645 GB, free: 1.406 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.0004248/0.3385, allocations: 319.6 kB / 0.5648 GB, free: 1.055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3385, allocations: 12.03 kB / 0.5648 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.267e-05/0.3386, allocations: 30.75 kB / 0.5648 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.388e-05/0.3386, allocations: 0.9375 kB / 0.5648 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.3387, allocations: 102.5 kB / 0.5649 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.3387, allocations: 8.312 kB / 0.5649 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.3387, allocations: 384 / 0.5649 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.981e-05/0.3388, allocations: 30.25 kB / 0.565 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3388, allocations: 7.938 kB / 0.565 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.3388, allocations: 4 kB / 0.565 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3388, allocations: 0 / 0.565 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.874e-05/0.3389, allocations: 0 / 0.565 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.339, allocations: 120.8 kB / 0.5651 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.779e-05/0.3391, allocations: 18.52 kB / 0.5651 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.09e-05/0.3391, allocations: 12.94 kB / 0.5651 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-06/0.3391, allocations: 0 / 0.5651 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/0.3391, allocations: 60.27 kB / 0.5652 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.3391, allocations: 0 / 0.5652 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001927/0.3393, allocations: 71.28 kB / 0.5653 GB, free: 476 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.3394, allocations: 81.11 kB / 0.5653 GB, free: 376 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.46e-05/0.3395, allocations: 93.84 kB / 0.5654 GB, free: 272 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.3395, allocations: 29.7 kB / 0.5654 GB, free: 236 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/0.3395, allocations: 84.14 kB / 0.5655 GB, free: 148 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.3395, allocations: 4.188 kB / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.3396, allocations: 13.72 kB / 0.5655 GB, free: 124 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3397, allocations: 314.8 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.3397, allocations: 0 / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-06/0.3397, allocations: 0 / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.51e-05/0.3398, allocations: 68.25 kB / 0.5659 GB, free: 15.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3398, allocations: 0 / 0.5659 GB, free: 15.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.041e-05/0.3399, allocations: 67.3 kB / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/0.3399, allocations: 41.73 kB / 0.566 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3399, allocations: 0 / 0.566 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.3399, allocations: 0 / 0.566 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.238e-06/0.34, allocations: 7.984 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.34, allocations: 0 / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.582e-05/0.34, allocations: 0 / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.34, allocations: 0 / 0.566 GB, free: 15.59 MB / 414.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 9.786e-05/0.3401, allocations: 135.5 kB / 0.5662 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.3401, allocations: 3.938 kB / 0.5662 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.36e-05/0.3401, allocations: 11.16 kB / 0.5662 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3401, allocations: 7.938 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3401, allocations: 0 / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.3401, allocations: 0 / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.3402, allocations: 116.8 kB / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3402, allocations: 0 / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.3402, allocations: 4 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3402, allocations: 3.938 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.3402, allocations: 0 / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3402, allocations: 3.984 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3402, allocations: 0 / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.3403, allocations: 98.77 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.561e-06/0.3403, allocations: 4 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.3404, allocations: 3.938 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.11e-05/0.3404, allocations: 0 / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.3404, allocations: 0 / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.3404, allocations: 3.984 kB / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.073e-05/0.3404, allocations: 87.31 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3404, allocations: 0 / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002915/0.3407, allocations: 63.8 kB / 0.5665 GB, free: 14.96 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.001117/0.3418, allocations: 0.8518 MB / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001125/0.342, allocations: 63.34 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.342, allocations: 4.062 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.212e-05/0.342, allocations: 59.41 kB / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.3421, allocations: 0 / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003645/0.3425, allocations: 138.4 kB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.3428, allocations: 0.6729 MB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.125e-06/0.3428, allocations: 0 / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.3429, allocations: 15.42 kB / 0.5683 GB, free: 13.09 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3429, allocations: 0 / 0.5683 GB, free: 13.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03196/0.3748, allocations: 2.559 MB / 0.5708 GB, free: 10.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.102/8.477, allocations: 9.938 kB / 0.5708 GB, free: 10.59 MB / 414.1 MB " [Timeout remaining time 651] (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: 11.474282731767744] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.553911351133138 8.572491391 8.231123876 Calling exit ...