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.001369/0.001369, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001886/0.001886, allocations: 209.3 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.406/1.406, allocations: 207.7 MB / 233.1 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] 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.1151/0.1151, allocations: 8.195 MB / 293.5 MB, free: 13.47 MB / 238.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002447/0.002447, allocations: 73.39 kB / 410.4 MB, free: 46.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08286/0.08531, allocations: 50.93 MB / 461.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001699/0.08701, allocations: 400.5 kB / 461.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001673/0.08717, allocations: 15.92 kB / 461.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.766e-05/0.08719, allocations: 0 / 461.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.08721, allocations: 0 / 461.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.292e-06/0.08721, allocations: 0 / 461.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.08736, allocations: 0 / 461.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.954e-05/0.08742, allocations: 11.94 kB / 461.8 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.384e-05/0.08748, allocations: 0 / 461.8 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.068e-05/0.0875, allocations: 3.984 kB / 461.8 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.808e-05/0.08755, allocations: 7.984 kB / 461.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.08757, allocations: 0 / 461.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.625e-06/0.08758, allocations: 4 kB / 461.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.08759, allocations: 0 / 461.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.08761, allocations: 3.938 kB / 461.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.922e-05/0.08767, allocations: 0 / 461.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.08768, allocations: 0 / 461.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.08768, allocations: 0 / 461.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.08769, allocations: 4 kB / 461.8 MB, free: 12.88 MB / 334.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.0003432/0.08803, allocations: 234.5 kB / 462 MB, free: 12.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.08808, allocations: 15.97 kB / 462 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.08811, allocations: 30.75 kB / 462.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.343e-05/0.08814, allocations: 0.9375 kB / 462.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.901e-05/0.08823, allocations: 110.5 kB / 462.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.08824, allocations: 384 / 462.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.08826, allocations: 384 / 462.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.08837, allocations: 30.27 kB / 462.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.08838, allocations: 3.938 kB / 462.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.08839, allocations: 0 / 462.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.0884, allocations: 0 / 462.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.129e-05/0.08842, allocations: 3.938 kB / 462.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000282/0.0887, allocations: 133 kB / 462.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.046e-05/0.08875, allocations: 14.58 kB / 462.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.933e-05/0.08877, allocations: 8.859 kB / 462.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.08879, allocations: 8.078 kB / 462.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.08881, allocations: 34.56 kB / 462.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.08881, allocations: 0 / 462.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001391/0.08895, allocations: 41.56 kB / 462.4 MB, free: 12.08 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.089, allocations: 51.41 kB / 462.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.177e-05/0.08905, allocations: 97.8 kB / 462.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.08906, allocations: 25.7 kB / 462.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.0891, allocations: 80.14 kB / 462.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.08913, allocations: 8.016 kB / 462.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.08916, allocations: 21.72 kB / 462.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.0893, allocations: 310.8 kB / 463 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.337e-05/0.08931, allocations: 3.984 kB / 463 MB, free: 11.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.556e-06/0.08932, allocations: 4 kB / 463 MB, free: 11.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.809e-05/0.08936, allocations: 12.86 kB / 463 MB, free: 11.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.08936, allocations: 0 / 463 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.674e-05/0.08943, allocations: 37.64 kB / 463.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.08945, allocations: 4 kB / 463.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.08945, allocations: 3.938 kB / 463.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.08947, allocations: 4.094 kB / 463.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.25e-05/0.0895, allocations: 8 kB / 463.1 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.0895, allocations: 0 / 463.1 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.363e-05/0.08952, allocations: 3.984 kB / 463.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.08952, allocations: 4 kB / 463.1 MB, free: 11.36 MB / 334.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 (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 7.914e-05/0.0896, allocations: 105.8 kB / 463.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-06/0.08961, allocations: 0 / 463.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.964e-05/0.08963, allocations: 10.89 kB / 463.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.08964, allocations: 4 kB / 463.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.08964, allocations: 0 / 463.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.08965, allocations: 8 kB / 463.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.08979, allocations: 120.8 kB / 463.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.08979, allocations: 0 / 463.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.296e-05/0.08981, allocations: 0 / 463.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.08982, allocations: 4 kB / 463.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.08983, allocations: 11.88 kB / 463.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.08983, allocations: 0 / 463.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.08983, allocations: 0 / 463.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.08995, allocations: 61.06 kB / 463.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-06/0.08995, allocations: 4 kB / 463.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.08997, allocations: 12.06 kB / 463.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.084e-05/0.08998, allocations: 0 / 463.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.134e-05/0.08999, allocations: 0 / 463.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.08999, allocations: 0 / 463.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.338e-05/0.09003, allocations: 75.28 kB / 463.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.09003, allocations: 0 / 463.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001788/0.09021, allocations: 4 kB / 463.5 MB, free: 10.88 MB / 334.1 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.0004353/0.09064, allocations: 0.6006 MB / 464.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.419e-05/0.09073, allocations: 12.08 kB / 464.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.09073, allocations: 0 / 464.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.906e-06/0.09074, allocations: 4 kB / 464.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.09087, allocations: 4 kB / 464.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.09187, allocations: 1.044 MB / 465.2 MB, free: 9.098 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.667e-05/0.09193, allocations: 55.36 kB / 465.2 MB, free: 9.023 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.972e-05/0.09195, allocations: 0 / 465.2 MB, free: 9.023 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.09198, allocations: 11.62 kB / 465.2 MB, free: 9.012 MB / 334.1 MB Notification: Performance of SimCode: time 7.22e-07/0.09198, allocations: 0 / 465.2 MB, free: 9.012 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.1208, allocations: 1.464 MB / 466.7 MB, free: 7.598 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.81, allocations: 7.797 kB / 466.7 MB, free: 7.59 MB / 334.1 MB " [Timeout remaining time 649] (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: 13.579412940889597] Failed to read output from testmodel.py, exit status != 0: 10.910132618620992 10.936363557 10.844042753 Calling exit ...