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.001376/0.001376, allocations: 109.3 kB / 16.46 MB, free: 6.508 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.00154/0.00154, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.534/1.534, allocations: 207.6 MB / 229.8 MB, free: 4.211 MB / 174.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.1242/0.1242, allocations: 8.21 MB / 289.9 MB, free: 8.23 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.002288/0.002288, allocations: 71.89 kB / 405.2 MB, free: 1.461 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3492, allocations: 50.89 MB / 456.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.002045/0.3512, allocations: 399.8 kB / 456.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001991/0.3514, allocations: 14.77 kB / 456.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.833e-05/0.3514, allocations: 1.25 kB / 456.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.934e-05/0.3515, allocations: 0 / 456.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.552e-06/0.3515, allocations: 0 / 456.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.3516, allocations: 13.52 kB / 456.5 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.598e-05/0.3517, allocations: 1.281 kB / 456.5 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.632e-05/0.3518, allocations: 1.438 kB / 456.5 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.998e-05/0.3518, allocations: 5.266 kB / 456.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.858e-05/0.3519, allocations: 0 / 456.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.3519, allocations: 1.25 kB / 456.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.3519, allocations: 3.938 kB / 456.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.366e-05/0.3519, allocations: 0 / 456.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.352, allocations: 1.469 kB / 456.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.964e-05/0.3521, allocations: 0 / 456.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.3521, allocations: 1.562 kB / 456.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.3521, allocations: 4 kB / 456.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.3521, allocations: 0 / 456.5 MB, free: 3.438 MB / 318.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.0004203/0.3525, allocations: 315.3 kB / 456.9 MB, free: 3.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.584e-05/0.3526, allocations: 9.469 kB / 456.9 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.313e-05/0.3526, allocations: 30.75 kB / 456.9 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.3526, allocations: 2.312 kB / 456.9 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.508e-05/0.3527, allocations: 164.3 kB / 457.1 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.3527, allocations: 384 / 457.1 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.3528, allocations: 1.844 kB / 457.1 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.3529, allocations: 39.69 kB / 457.1 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3529, allocations: 3.938 kB / 457.1 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.3529, allocations: 1.438 kB / 457.1 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3529, allocations: 0 / 457.1 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.312e-05/0.353, allocations: 1.156 kB / 457.1 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002568/0.3532, allocations: 150.8 kB / 457.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.144e-05/0.3533, allocations: 19.92 kB / 457.3 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.842e-05/0.3533, allocations: 10.2 kB / 457.3 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.3533, allocations: 9.219 kB / 457.3 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.3533, allocations: 30.56 kB / 457.3 MB, free: 2.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.3533, allocations: 1.125 kB / 457.3 MB, free: 2.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001409/0.3534, allocations: 34.52 kB / 457.4 MB, free: 2.484 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.3535, allocations: 52.62 kB / 457.4 MB, free: 2.422 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.809e-05/0.3535, allocations: 93.84 kB / 457.5 MB, free: 2.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.3535, allocations: 29.64 kB / 457.5 MB, free: 2.285 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.938e-05/0.3535, allocations: 88.27 kB / 457.6 MB, free: 2.195 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.3536, allocations: 11 kB / 457.6 MB, free: 2.188 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.3536, allocations: 12.28 kB / 457.6 MB, free: 2.172 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.789e-05/0.3537, allocations: 310.8 kB / 457.9 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/0.3537, allocations: 2.281 kB / 457.9 MB, free: 1.859 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.754e-06/0.3537, allocations: 5.281 kB / 457.9 MB, free: 1.855 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.376e-05/0.3537, allocations: 9.141 kB / 458 MB, free: 1.848 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3537, allocations: 4.062 kB / 458 MB, free: 1.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.894e-05/0.3538, allocations: 41.69 kB / 458 MB, free: 1.805 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3538, allocations: 5.656 kB / 458 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3538, allocations: 3.938 kB / 458 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.3538, allocations: 0 / 458 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.132e-05/0.3538, allocations: 7.469 kB / 458 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.3538, allocations: 0 / 458 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.441e-05/0.3539, allocations: 5.125 kB / 458 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.3539, allocations: 0 / 458 MB, free: 1.793 MB / 318.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.971e-05/0.3539, allocations: 112 kB / 458.1 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-06/0.354, allocations: 0 / 458.1 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.354, allocations: 12.23 kB / 458.1 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.52e-07/0.354, allocations: 0 / 458.1 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.354, allocations: 0 / 458.1 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.354, allocations: 1.281 kB / 458.1 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.3541, allocations: 149.7 kB / 458.3 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3541, allocations: 5.109 kB / 458.3 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.491e-05/0.3541, allocations: 1.156 kB / 458.3 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3541, allocations: 1.062 kB / 458.3 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.3542, allocations: 7.938 kB / 458.3 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3542, allocations: 1.125 kB / 458.3 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3542, allocations: 0 / 458.3 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.201e-05/0.3543, allocations: 65.78 kB / 458.4 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.661e-05/0.3543, allocations: 81.09 kB / 458.5 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.3543, allocations: 5.281 kB / 458.5 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.255e-05/0.3543, allocations: 1.891 kB / 458.5 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.3543, allocations: 5.219 kB / 458.5 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.3543, allocations: 0 / 458.5 MB, free: 1.285 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.016e-05/0.3543, allocations: 83.16 kB / 458.5 MB, free: 1.203 MB / 318.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3543, allocations: 1.156 kB / 458.5 MB, free: 1.203 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001958/0.3545, allocations: 0.9688 kB / 458.5 MB, free: 1.203 MB / 318.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.0002634/0.3548, allocations: 0.5995 MB / 459.1 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.585e-05/0.3549, allocations: 9.5 kB / 459.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3549, allocations: 0 / 459.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.604e-06/0.3549, allocations: 6.125 kB / 459.2 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.355, allocations: 1.219 kB / 459.2 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000983/0.356, allocations: 1.049 MB / 460.2 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.3564, allocations: 0.6748 MB / 460.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.425e-05/0.3564, allocations: 4.062 kB / 460.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.3565, allocations: 8.5 kB / 460.9 MB, free: 14.78 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3565, allocations: 0 / 460.9 MB, free: 14.78 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.3848, allocations: 0.9708 MB / 461.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.5/8.885, allocations: 11.88 kB / 461.9 MB, free: 14.14 MB / 334.1 MB " [Timeout remaining time 651] (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: 11.626337690002401] Failed to read output from testmodel.py, exit status != 0: 8.952882746001706 8.967380272 8.61236235 Calling exit ...