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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 107.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.599/1.599, allocations: 207.6 MB / 229.8 MB, free: 11.42 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.116/0.116, allocations: 8.207 MB / 289.8 MB, free: 14.88 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.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.002088/0.002088, allocations: 76.03 kB / 405.2 MB, free: 47.49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0846/0.08669, allocations: 50.88 MB / 456.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001555/0.08824, allocations: 397.8 kB / 456.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001112/0.08835, allocations: 19.92 kB / 456.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.582e-05/0.08837, allocations: 0 / 456.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.454e-06/0.08838, allocations: 0 / 456.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.807e-06/0.08838, allocations: 0 / 456.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.178e-05/0.08847, allocations: 7.984 kB / 456.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.565e-05/0.08851, allocations: 0 / 456.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.035e-05/0.08854, allocations: 7.984 kB / 456.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.645e-06/0.08855, allocations: 4 kB / 456.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.697e-05/0.08857, allocations: 0 / 456.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.414e-06/0.08858, allocations: 0 / 456.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.968e-06/0.08859, allocations: 0 / 456.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.136e-05/0.0886, allocations: 4 kB / 456.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.457e-05/0.08861, allocations: 3.828 kB / 456.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 3.312e-05/0.08864, allocations: 0 / 456.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.08865, allocations: 0 / 456.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.08865, allocations: 0 / 456.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.08866, allocations: 0 / 456.5 MB, free: 14.59 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.0003251/0.08898, allocations: 319.6 kB / 456.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.08902, allocations: 8.031 kB / 456.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.08906, allocations: 30.75 kB / 456.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.417e-05/0.08907, allocations: 4.938 kB / 456.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.08919, allocations: 164.3 kB / 457 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.0892, allocations: 384 / 457 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.08921, allocations: 384 / 457 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.239e-05/0.08929, allocations: 30.27 kB / 457 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.0893, allocations: 3.938 kB / 457 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.08931, allocations: 3.984 kB / 457 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.08931, allocations: 4 kB / 457 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.316e-05/0.08933, allocations: 3.984 kB / 457 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002591/0.08959, allocations: 154 kB / 457.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.157e-05/0.08963, allocations: 22.55 kB / 457.2 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.525e-05/0.08964, allocations: 8.844 kB / 457.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.08965, allocations: 3.938 kB / 457.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.08968, allocations: 42.62 kB / 457.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.08968, allocations: 0 / 457.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 9.034e-05/0.08978, allocations: 33.64 kB / 457.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.08981, allocations: 51.41 kB / 457.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.142e-05/0.08987, allocations: 93.8 kB / 457.5 MB, free: 13.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.08989, allocations: 25.7 kB / 457.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.08994, allocations: 84.12 kB / 457.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.08996, allocations: 11.89 kB / 457.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.08999, allocations: 17.83 kB / 457.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.09016, allocations: 314.8 kB / 457.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.161e-05/0.09017, allocations: 7.938 kB / 457.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.789e-06/0.09017, allocations: 0 / 457.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.386e-05/0.0902, allocations: 12.86 kB / 457.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.0902, allocations: 0 / 457.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.122e-05/0.09026, allocations: 41.69 kB / 458 MB, free: 12.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.09028, allocations: 9.875 kB / 458 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.09028, allocations: 8.031 kB / 458 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.09029, allocations: 0 / 458 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.182e-05/0.09031, allocations: 3.938 kB / 458 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.09032, allocations: 4 kB / 458 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.268e-06/0.09033, allocations: 0 / 458 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-06/0.09033, allocations: 0 / 458 MB, free: 12.86 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.951e-05/0.09041, allocations: 109.8 kB / 458.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-06/0.09042, allocations: 0 / 458.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.366e-05/0.09043, allocations: 11.02 kB / 458.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.09043, allocations: 8 kB / 458.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.09043, allocations: 0 / 458.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-06/0.09043, allocations: 0 / 458.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.09059, allocations: 149.7 kB / 458.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.0906, allocations: 0 / 458.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.276e-05/0.09062, allocations: 4 kB / 458.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.09062, allocations: 0 / 458.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.09063, allocations: 7.938 kB / 458.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.09063, allocations: 3.984 kB / 458.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.09063, allocations: 0 / 458.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.621e-05/0.09072, allocations: 61.08 kB / 458.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/0.09076, allocations: 77.11 kB / 458.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.09078, allocations: 7.922 kB / 458.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.669e-05/0.09079, allocations: 8.031 kB / 458.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-06/0.0908, allocations: 0 / 458.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.0908, allocations: 4 kB / 458.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.71e-05/0.09085, allocations: 79.22 kB / 458.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.09085, allocations: 96 / 458.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001671/0.09102, allocations: 4 kB / 458.5 MB, free: 12.24 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.0004043/0.09142, allocations: 0.5968 MB / 459.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 4.618e-05/0.09147, allocations: 7.938 kB / 459.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.09147, allocations: 4.094 kB / 459.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.935e-06/0.09148, allocations: 8 kB / 459.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/0.09158, allocations: 0 / 459.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000936/0.09252, allocations: 1.051 MB / 460.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.09288, allocations: 0.669 MB / 460.8 MB, free: 9.766 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.603e-05/0.09289, allocations: 3.984 kB / 460.8 MB, free: 9.762 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.951e-05/0.09291, allocations: 7.438 kB / 460.9 MB, free: 9.754 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.09291, allocations: 0 / 460.9 MB, free: 9.754 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.1154, allocations: 0.975 MB / 461.8 MB, free: 8.871 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.162, allocations: 15.58 kB / 461.8 MB, free: 8.859 MB / 334.1 MB " [Timeout remaining time 652] (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: 10.897481701336801] Failed to read output from testmodel.py, exit status != 0: 8.231834913603961 8.258447096 8.16506445 Calling exit ...