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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) 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.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.006543/0.006543, allocations: 174.6 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.32/1.32, allocations: 194.5 MB / 210.3 MB, free: 8.598 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.0374/0.0374, allocations: 8.088 MB / 263.6 MB, free: 3.215 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001596/0.001596, allocations: 118.9 kB / 310.6 MB, free: 27.17 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003654, allocations: 12 kB / 367.4 MB, free: 2.336 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2443, allocations: 46.19 MB / 413.5 MB, free: 47.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08659/0.331, allocations: 70.95 MB / 484.5 MB, free: 14.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001323/0.3311, allocations: 47.98 kB / 484.5 MB, free: 14.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0005469/0.3317, allocations: 374.5 kB / 484.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3317, allocations: 3.781 kB / 484.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.3317, allocations: 0 / 484.9 MB, free: 14.43 MB / 330.7 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.0002451/0.332, allocations: 317.8 kB / 485.2 MB, free: 14.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.332, allocations: 8.031 kB / 485.2 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.694e-05/0.3321, allocations: 34.5 kB / 485.3 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.358e-05/0.3321, allocations: 0 / 485.3 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.671e-05/0.3322, allocations: 167 kB / 485.4 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.3322, allocations: 0 / 485.4 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.3322, allocations: 4 kB / 485.4 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.398e-05/0.3323, allocations: 38.42 kB / 485.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.3324, allocations: 3.312 kB / 485.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.934e-06/0.3324, allocations: 0 / 485.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3324, allocations: 0 / 485.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.697e-05/0.3324, allocations: 4 kB / 485.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002624/0.3327, allocations: 153.6 kB / 485.6 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.47e-05/0.3327, allocations: 26.55 kB / 485.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.3327, allocations: 2.438 kB / 485.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.3328, allocations: 30.56 kB / 485.7 MB, free: 13.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/0.3328, allocations: 0 / 485.7 MB, free: 13.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001157/0.3329, allocations: 29.77 kB / 485.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.333, allocations: 55.53 kB / 485.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.307e-05/0.333, allocations: 89 kB / 485.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.333, allocations: 25.7 kB / 485.9 MB, free: 13.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.252e-05/0.3331, allocations: 84.12 kB / 486 MB, free: 13.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.3331, allocations: 7.906 kB / 486 MB, free: 13.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.3331, allocations: 0 / 486 MB, free: 13.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.3332, allocations: 314.8 kB / 486.3 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.3332, allocations: 4 kB / 486.3 MB, free: 12.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.552e-06/0.3332, allocations: 3.938 kB / 486.3 MB, free: 12.85 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.126e-05/0.3332, allocations: 8.062 kB / 486.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3333, allocations: 0 / 486.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.028e-05/0.3333, allocations: 37.66 kB / 486.3 MB, free: 12.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3333, allocations: 13.08 kB / 486.3 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3334, allocations: 0 / 486.3 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3334, allocations: 0 / 486.3 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.962e-05/0.3334, allocations: 4 kB / 486.3 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3334, allocations: 0 / 486.3 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.586e-05/0.3334, allocations: 4 kB / 486.3 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.3334, allocations: 0 / 486.3 MB, free: 12.78 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.93e-05/0.3335, allocations: 109.9 kB / 486.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.974e-06/0.3335, allocations: 11.89 kB / 486.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.01e-05/0.3336, allocations: 7.125 kB / 486.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.3336, allocations: 0 / 486.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3336, allocations: 0 / 486.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3336, allocations: 0 / 486.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.3337, allocations: 149.7 kB / 486.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3337, allocations: 3.938 kB / 486.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.863e-05/0.3338, allocations: 4 kB / 486.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3338, allocations: 4 kB / 486.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.3338, allocations: 3.953 kB / 486.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3338, allocations: 0 / 486.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3338, allocations: 0 / 486.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.3339, allocations: 61.12 kB / 486.7 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.012e-05/0.334, allocations: 77.11 kB / 486.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.334, allocations: 4.031 kB / 486.8 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.542e-05/0.334, allocations: 12.03 kB / 486.8 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.334, allocations: 0 / 486.8 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.334, allocations: 0 / 486.8 MB, free: 12.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.725e-05/0.3341, allocations: 79.22 kB / 486.9 MB, free: 12.17 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3341, allocations: 0 / 486.9 MB, free: 12.17 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002053/0.3343, allocations: 4 kB / 486.9 MB, free: 12.17 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003061/0.3346, allocations: 0.5968 MB / 487.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 5.966e-05/0.3347, allocations: 8 kB / 487.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3347, allocations: 3.938 kB / 487.5 MB, free: 11.53 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.808e-06/0.3347, allocations: 7.938 kB / 487.5 MB, free: 11.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.683e-05/0.3348, allocations: 4.469 kB / 487.5 MB, free: 11.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004815/0.3353, allocations: 309.6 kB / 487.8 MB, free: 11.17 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.3355, allocations: 0.677 MB / 488.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.819e-05/0.3355, allocations: 0 / 488.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.042e-05/0.3355, allocations: 8.312 kB / 488.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of SimCode: time 3.376e-06/0.3355, allocations: 4 kB / 488.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01031/0.3458, allocations: 0.7815 MB / 489.3 MB, free: 9.816 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.3461, allocations: 200.9 kB / 489.5 MB, free: 9.582 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.34/1.686, allocations: 3.344 kB / 489.5 MB, free: 9.582 MB / 330.7 MB (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/linux/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_BasicEquations_SimpleExample_FirstOrderExperiment_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_BasicEquations_SimpleExample_FirstOrderExperiment.fmu > ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe 2>&1)