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.001659/0.001659, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.002306/0.002306, allocations: 219.6 kB / 22.26 MB, free: 5.117 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.863/1.863, allocations: 207.6 MB / 233 MB, free: 10.02 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.1261/0.1261, allocations: 8.198 MB / 293.5 MB, free: 13.66 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.002209/0.002209, allocations: 73.2 kB / 410.4 MB, free: 47.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09682/0.09903, allocations: 50.93 MB / 461.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001716/0.1007, allocations: 400.5 kB / 461.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001707/0.1009, allocations: 19.97 kB / 461.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.631e-05/0.1009, allocations: 0 / 461.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.717e-05/0.1009, allocations: 0 / 461.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.143e-06/0.101, allocations: 0 / 461.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.1011, allocations: 7.938 kB / 461.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.743e-05/0.1012, allocations: 7.984 kB / 461.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.135e-05/0.1012, allocations: 0 / 461.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.693e-05/0.1012, allocations: 4 kB / 461.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.864e-05/0.1013, allocations: 0 / 461.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.1013, allocations: 0 / 461.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.266e-06/0.1013, allocations: 0 / 461.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.1013, allocations: 0 / 461.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.1013, allocations: 11.92 kB / 461.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 6.93e-05/0.1014, allocations: 4 kB / 461.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1014, allocations: 0 / 461.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1014, allocations: 0 / 461.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1014, allocations: 4 kB / 461.8 MB, free: 13.09 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.0003223/0.1017, allocations: 234.5 kB / 462 MB, free: 12.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.1018, allocations: 11.98 kB / 462 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.428e-05/0.1018, allocations: 30.75 kB / 462.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.233e-05/0.1019, allocations: 0.9375 kB / 462.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.906e-05/0.102, allocations: 110.5 kB / 462.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.102, allocations: 384 / 462.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.102, allocations: 384 / 462.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.757e-05/0.1021, allocations: 38.19 kB / 462.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1021, allocations: 7.938 kB / 462.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.1021, allocations: 0 / 462.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1021, allocations: 0 / 462.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.605e-05/0.1021, allocations: 0 / 462.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002736/0.1024, allocations: 124.9 kB / 462.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.822e-05/0.1025, allocations: 14.58 kB / 462.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.752e-05/0.1025, allocations: 8.844 kB / 462.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.1025, allocations: 4 kB / 462.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.1025, allocations: 38.59 kB / 462.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.1025, allocations: 3.938 kB / 462.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001343/0.1026, allocations: 37.64 kB / 462.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.1027, allocations: 51.41 kB / 462.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.06e-05/0.1027, allocations: 89.86 kB / 462.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.1028, allocations: 25.7 kB / 462.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.936e-05/0.1028, allocations: 80.14 kB / 462.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.1028, allocations: 20 kB / 462.7 MB, free: 12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/0.1029, allocations: 9.719 kB / 462.7 MB, free: 11.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.103, allocations: 314.8 kB / 463 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.103, allocations: 4 kB / 463 MB, free: 11.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.999e-06/0.103, allocations: 0 / 463 MB, free: 11.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.76e-05/0.1031, allocations: 20.73 kB / 463 MB, free: 11.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1031, allocations: 0 / 463 MB, free: 11.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.971e-05/0.1031, allocations: 41.75 kB / 463.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1031, allocations: 8 kB / 463.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1031, allocations: 3.938 kB / 463.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1031, allocations: 0 / 463.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.819e-05/0.1032, allocations: 4 kB / 463.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1032, allocations: 0 / 463.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.072e-05/0.1032, allocations: 0 / 463.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.1032, allocations: 3.984 kB / 463.1 MB, free: 11.57 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 8.322e-05/0.1033, allocations: 109.8 kB / 463.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-06/0.1033, allocations: 4.031 kB / 463.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.994e-05/0.1033, allocations: 18.89 kB / 463.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1033, allocations: 0 / 463.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1033, allocations: 0 / 463.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1033, allocations: 7.922 kB / 463.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.1035, allocations: 116.8 kB / 463.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1035, allocations: 0 / 463.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.423e-05/0.1035, allocations: 4 kB / 463.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1035, allocations: 0 / 463.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1035, allocations: 3.938 kB / 463.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.1035, allocations: 3.984 kB / 463.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1035, allocations: 4 kB / 463.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.1036, allocations: 57.14 kB / 463.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-06/0.1036, allocations: 4.031 kB / 463.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.1036, allocations: 7.922 kB / 463.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.041e-05/0.1036, allocations: 0 / 463.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.1037, allocations: 0 / 463.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.1037, allocations: 0 / 463.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.503e-05/0.1037, allocations: 79.38 kB / 463.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1037, allocations: 0 / 463.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001722/0.1039, allocations: 7.938 kB / 463.5 MB, free: 11.08 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.0004022/0.1043, allocations: 0.5968 MB / 464.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 6.853e-05/0.1043, allocations: 12.09 kB / 464.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1043, allocations: 0 / 464.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.288e-06/0.1043, allocations: 3.938 kB / 464.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.1045, allocations: 3.938 kB / 464.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000936/0.1054, allocations: 1.052 MB / 465.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.1057, allocations: 0.669 MB / 465.9 MB, free: 8.605 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.233e-05/0.1058, allocations: 3.984 kB / 465.9 MB, free: 8.602 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.1058, allocations: 15.47 kB / 465.9 MB, free: 8.586 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1058, allocations: 0 / 465.9 MB, free: 8.586 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/0.1358, allocations: 1.064 MB / 466.9 MB, free: 7.578 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.36, allocations: 3.938 kB / 466.9 MB, free: 7.574 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: 14.56064587389119] Failed to read output from testmodel.py, exit status != 0: 11.46200807299465 11.491507885 11.384966432 Calling exit ...