Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.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.000957/0.000957, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008619/0.0008619, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8373/0.8373, allocations: 158.6 MB / 184.2 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.0436/0.0436, allocations: 6.4 MB / 242.9 MB, free: 8.988 MB / 234.7 MB " [Timeout remaining time 180] Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,fileNamePrefix="ModelicaByExample_ModelicaByExample_BasicEquations_SimpleExample_FirstOrderExperiment",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,fileNamePrefix="ModelicaByExample_ModelicaByExample_BasicEquations_SimpleExample_FirstOrderExperiment",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.386e-06/3.386e-06, allocations: 0 / 359.8 MB, free: 4.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.217e-05, allocations: 5.938 kB / 359.8 MB, free: 4.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.00102/0.001042, allocations: 397.2 kB / 360.2 MB, free: 4.039 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001754/0.001218, allocations: 20.19 kB / 360.2 MB, free: 4.02 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.848e-05/0.001236, allocations: 3.938 kB / 360.2 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.738e-05/0.001253, allocations: 0 / 360.2 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.536e-05/0.001269, allocations: 0 / 360.2 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.00142, allocations: 0 / 360.2 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.194e-05/0.001472, allocations: 8 kB / 360.2 MB, free: 4.008 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.001518, allocations: 0 / 360.2 MB, free: 4.008 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.346e-05/0.001551, allocations: 0 / 360.2 MB, free: 4.008 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.633e-05/0.001608, allocations: 4 kB / 360.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.001629, allocations: 0 / 360.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-06/0.001637, allocations: 0 / 360.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.001652, allocations: 3.938 kB / 360.2 MB, free: 4 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.667e-05/0.001669, allocations: 3.984 kB / 360.2 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 5.557e-05/0.001724, allocations: 3.984 kB / 360.2 MB, free: 3.992 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.001726, allocations: 0 / 360.2 MB, free: 3.992 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.001727, allocations: 0 / 360.2 MB, free: 3.992 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.001731, allocations: 8 kB / 360.2 MB, free: 3.984 MB / 282.7 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.0002422/0.001973, allocations: 238.5 kB / 360.4 MB, free: 3.719 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.002014, allocations: 11.98 kB / 360.5 MB, free: 3.707 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.48e-05/0.002039, allocations: 34.75 kB / 360.5 MB, free: 3.664 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.275e-05/0.002062, allocations: 0.9375 kB / 360.5 MB, free: 3.664 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.88e-05/0.0021, allocations: 109.8 kB / 360.6 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.002111, allocations: 384 / 360.6 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.002134, allocations: 384 / 360.6 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.848e-05/0.002222, allocations: 38.2 kB / 360.6 MB, free: 3.488 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.002231, allocations: 192 / 360.6 MB, free: 3.488 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.002238, allocations: 4.375 kB / 360.6 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.002245, allocations: 4.125 kB / 360.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.902e-05/0.002264, allocations: 0 / 360.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.002477, allocations: 124.8 kB / 360.8 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.308e-05/0.00251, allocations: 15.7 kB / 360.8 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.171e-05/0.002522, allocations: 8.859 kB / 360.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.002531, allocations: 8.031 kB / 360.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.02e-05/0.002541, allocations: 34.5 kB / 360.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 5.11e-07/0.002542, allocations: 0 / 360.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001111/0.002653, allocations: 29.7 kB / 360.9 MB, free: 3.195 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.002678, allocations: 59.47 kB / 360.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.442e-05/0.002693, allocations: 97.84 kB / 361 MB, free: 3.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.741e-06/0.002698, allocations: 25.7 kB / 361 MB, free: 2.988 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.416e-06/0.002707, allocations: 80.14 kB / 361.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.002731, allocations: 7.953 kB / 361.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.002754, allocations: 13.72 kB / 361.1 MB, free: 2.879 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.2e-05/0.002786, allocations: 310.8 kB / 361.4 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.146e-06/0.002794, allocations: 0 / 361.4 MB, free: 2.566 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-06/0.002801, allocations: 15.88 kB / 361.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.521e-05/0.002826, allocations: 8.922 kB / 361.5 MB, free: 2.539 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.002828, allocations: 4 kB / 361.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 2.697e-05/0.002855, allocations: 41.69 kB / 361.5 MB, free: 2.488 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.002866, allocations: 4 kB / 361.5 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.002872, allocations: 0 / 361.5 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.002883, allocations: 0 / 361.5 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.242e-05/0.002905, allocations: 4 kB / 361.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.002912, allocations: 3.938 kB / 361.5 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.254e-06/0.00292, allocations: 0 / 361.5 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.002925, allocations: 4 kB / 361.5 MB, free: 2.473 MB / 282.7 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 (2): * Single equations (assignments): 2 * 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 3.494e-05/0.00296, allocations: 113.8 kB / 361.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-06/0.002963, allocations: 0 / 361.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.335e-05/0.002976, allocations: 10.94 kB / 361.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.002978, allocations: 0 / 361.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.002982, allocations: 3.938 kB / 361.7 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.002985, allocations: 4 kB / 361.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.212e-05/0.003047, allocations: 124.8 kB / 361.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.003048, allocations: 0 / 361.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.253e-05/0.00306, allocations: 3.984 kB / 361.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.003062, allocations: 4 kB / 361.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.003068, allocations: 0 / 361.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.003069, allocations: 8 kB / 361.8 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.00307, allocations: 3.938 kB / 361.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.236e-05/0.003142, allocations: 53.14 kB / 361.9 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-06/0.003147, allocations: 3.984 kB / 361.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.003157, allocations: 4.031 kB / 361.9 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.51e-06/0.003162, allocations: 4 kB / 361.9 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.306e-05/0.003175, allocations: 3.938 kB / 361.9 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-06/0.003176, allocations: 3.938 kB / 361.9 MB, free: 2.062 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.348e-06/0.003186, allocations: 75.28 kB / 361.9 MB, free: 1.988 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003186, allocations: 3.938 kB / 362 MB, free: 1.984 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001193/0.003305, allocations: 8.094 kB / 362 MB, free: 1.977 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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): 1 * 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.0001308/0.003436, allocations: 0.5891 MB / 362.5 MB, free: 1.359 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.763e-05/0.003503, allocations: 4 kB / 362.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.003505, allocations: 0 / 362.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.598e-06/0.00351, allocations: 11.88 kB / 362.6 MB, free: 1.344 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001071/0.003617, allocations: 3.938 kB / 362.6 MB, free: 1.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005094/0.004126, allocations: 1.063 MB / 363.6 MB, free: 196 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.636e-05/0.004153, allocations: 59.34 kB / 363.7 MB, free: 116 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.941e-05/0.004172, allocations: 0 / 363.7 MB, free: 116 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.004196, allocations: 8.5 kB / 363.7 MB, free: 104 kB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.004197, allocations: 0 / 363.7 MB, free: 104 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/0.01882, allocations: 1.601 MB / 365.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.873/6.892, allocations: 15.98 kB / 365.3 MB, free: 14.55 MB / 298.7 MB " [Timeout remaining time 653] (rm -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe ; mkfifo ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe >> ../files/ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.sim & python3 -m fmpy simulate --output-file ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment_res.csv --start-time 0 --stop-time 8 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0032 ModelicaByExample_ModelicaByExample_BasicEquations_SimpleExample_FirstOrderExperiment.fmu > ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.680086760781705] Failed to read output from testmodel.py, exit status != 0: 6.974481802433729 6.991364498 6.987715788 Calling exit ...