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.001351/0.001351, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001543/0.001543, allocations: 210.7 kB / 22.24 MB, free: 5.242 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.479/1.479, allocations: 207.7 MB / 233.1 MB, free: 9.797 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.1214/0.1214, allocations: 8.192 MB / 293.5 MB, free: 13.48 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.002196/0.002196, allocations: 78.28 kB / 410.4 MB, free: 46.85 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08098/0.08318, allocations: 50.93 MB / 461.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001425/0.0846, allocations: 396.4 kB / 461.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001426/0.08475, allocations: 19.97 kB / 461.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.445e-05/0.08476, allocations: 0 / 461.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.08478, allocations: 0 / 461.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.701e-06/0.08478, allocations: 0 / 461.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001304/0.08491, allocations: 0 / 461.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.13e-05/0.08498, allocations: 19.86 kB / 461.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.703e-05/0.08502, allocations: 0 / 461.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.33e-05/0.08504, allocations: 0 / 461.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.484e-05/0.08508, allocations: 0 / 461.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.08509, allocations: 0 / 461.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.013e-06/0.0851, allocations: 0 / 461.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.08511, allocations: 8 kB / 461.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.08513, allocations: 0 / 461.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.304e-05/0.08518, allocations: 3.984 kB / 461.8 MB, free: 12.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.08519, allocations: 0 / 461.8 MB, free: 12.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.08519, allocations: 0 / 461.8 MB, free: 12.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.08519, allocations: 0 / 461.8 MB, free: 12.9 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.0003225/0.08552, allocations: 238.5 kB / 462 MB, free: 12.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.08556, allocations: 15.98 kB / 462 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.261e-05/0.08559, allocations: 30.75 kB / 462.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.944e-05/0.08561, allocations: 0.9375 kB / 462.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.217e-05/0.0857, allocations: 102.5 kB / 462.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.864e-06/0.08571, allocations: 4.375 kB / 462.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.08573, allocations: 4.375 kB / 462.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.421e-05/0.08582, allocations: 30.25 kB / 462.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.08583, allocations: 3.938 kB / 462.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.08583, allocations: 0 / 462.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.08584, allocations: 3.938 kB / 462.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.457e-05/0.08585, allocations: 4 kB / 462.2 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002479/0.0861, allocations: 125 kB / 462.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.024e-05/0.08614, allocations: 18.61 kB / 462.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.966e-05/0.08616, allocations: 8.844 kB / 462.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.061e-06/0.08617, allocations: 4 kB / 462.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.08619, allocations: 38.62 kB / 462.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.08619, allocations: 0 / 462.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001239/0.08632, allocations: 37.58 kB / 462.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.08636, allocations: 55.34 kB / 462.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.722e-05/0.08641, allocations: 89.86 kB / 462.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.08643, allocations: 25.7 kB / 462.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.15e-05/0.08647, allocations: 84.14 kB / 462.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.08649, allocations: 7.891 kB / 462.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.806e-05/0.08654, allocations: 17.7 kB / 462.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.08668, allocations: 319 kB / 463 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.879e-06/0.08669, allocations: 0 / 463 MB, free: 11.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.333e-06/0.0867, allocations: 4 kB / 463 MB, free: 11.47 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.553e-05/0.08673, allocations: 20.8 kB / 463 MB, free: 11.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.08674, allocations: 0 / 463 MB, free: 11.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.344e-05/0.08679, allocations: 33.7 kB / 463.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.0868, allocations: 7.984 kB / 463.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.08681, allocations: 3.938 kB / 463.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.08682, allocations: 0 / 463.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.572e-05/0.08685, allocations: 8.094 kB / 463.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.08685, allocations: 0 / 463.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.23e-05/0.08687, allocations: 4 kB / 463.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.08687, allocations: 0 / 463.1 MB, free: 11.38 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 9.112e-05/0.08696, allocations: 109.8 kB / 463.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-06/0.08697, allocations: 0 / 463.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.08699, allocations: 10.89 kB / 463.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.01e-07/0.08699, allocations: 0 / 463.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.08699, allocations: 0 / 463.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.08699, allocations: 0 / 463.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.08713, allocations: 124.8 kB / 463.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.08713, allocations: 4 kB / 463.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.08715, allocations: 0 / 463.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.08715, allocations: 3.938 kB / 463.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.08716, allocations: 11.88 kB / 463.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.08717, allocations: 0 / 463.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.08717, allocations: 4 kB / 463.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.08727, allocations: 57.12 kB / 463.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-06/0.08727, allocations: 3.984 kB / 463.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.08729, allocations: 7.938 kB / 463.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.048e-05/0.0873, allocations: 96 / 463.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.08732, allocations: 12.02 kB / 463.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.08732, allocations: 0 / 463.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.591e-05/0.08735, allocations: 75.28 kB / 463.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.08735, allocations: 0 / 463.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001656/0.08752, allocations: 0 / 463.5 MB, free: 10.89 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.0004193/0.08794, allocations: 0.6006 MB / 464.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.26e-05/0.08801, allocations: 8 kB / 464.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.08801, allocations: 0 / 464.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.871e-06/0.08802, allocations: 4.156 kB / 464.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.08814, allocations: 8 kB / 464.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009517/0.0891, allocations: 1.044 MB / 465.2 MB, free: 9.117 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.855e-05/0.08914, allocations: 55.36 kB / 465.2 MB, free: 9.043 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.727e-05/0.08916, allocations: 0 / 465.2 MB, free: 9.043 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.08919, allocations: 7.438 kB / 465.2 MB, free: 9.035 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.08919, allocations: 3.938 kB / 465.2 MB, free: 9.031 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.1162, allocations: 1.455 MB / 466.7 MB, free: 7.625 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.61, allocations: 11.73 kB / 466.7 MB, free: 7.613 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_BasicEquations_SimpleExample_FirstOrderExperiment_fmu --startTime=0 --stopTime=8 --stepSize=0.0032 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_BasicEquations_SimpleExample_FirstOrderExperiment.fmu > ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.299082757905126] Failed to read output from testmodel.py, exit status != 0: 10.712346697691828 10.729716654 10.641549089 Calling exit ...