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.001027/0.001027, allocations: 175.7 kB / 7.65 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.499/1.499, allocations: 194.4 MB / 202.4 MB, free: 13.03 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03834/0.03834, allocations: 7.905 MB / 255.2 MB, free: 8.238 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.001869/0.001869, allocations: 115.4 kB / 301.9 MB, free: 32.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.788e-05/1.79e-05, allocations: 0 / 354.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2738, allocations: 46.18 MB / 400.6 MB, free: 46.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0906/0.3645, allocations: 70.2 MB / 470.8 MB, free: 4.699 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000144/0.3647, allocations: 44.73 kB / 470.8 MB, free: 4.656 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0006291/0.3654, allocations: 381.8 kB / 471.2 MB, free: 4.281 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3654, allocations: 0 / 471.2 MB, free: 4.281 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3654, allocations: 0 / 471.2 MB, free: 4.281 MB / 314.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.0002571/0.3657, allocations: 309.6 kB / 471.5 MB, free: 3.941 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.3657, allocations: 8.531 kB / 471.5 MB, free: 3.934 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.3658, allocations: 11.69 kB / 471.5 MB, free: 3.926 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.588e-05/0.3659, allocations: 167 kB / 471.7 MB, free: 3.723 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.3659, allocations: 0 / 471.7 MB, free: 3.723 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.3659, allocations: 0 / 471.7 MB, free: 3.723 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.224e-05/0.366, allocations: 0.6562 kB / 471.7 MB, free: 3.723 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.435e-05/0.3661, allocations: 32.44 kB / 471.7 MB, free: 3.688 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.3661, allocations: 0 / 471.7 MB, free: 3.688 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.3661, allocations: 0.875 kB / 471.7 MB, free: 3.688 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.3661, allocations: 0 / 471.7 MB, free: 3.688 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002958/0.3664, allocations: 134.8 kB / 471.8 MB, free: 3.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.967e-05/0.3665, allocations: 27.94 kB / 471.9 MB, free: 3.484 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.936e-05/0.3665, allocations: 5.609 kB / 471.9 MB, free: 3.477 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.3665, allocations: 3.141 kB / 471.9 MB, free: 3.477 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.3665, allocations: 32.97 kB / 471.9 MB, free: 3.438 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.3665, allocations: 0.6562 kB / 471.9 MB, free: 3.438 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001234/0.3667, allocations: 30.27 kB / 471.9 MB, free: 3.402 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.3667, allocations: 58.06 kB / 472 MB, free: 3.336 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.521e-05/0.3667, allocations: 85 kB / 472.1 MB, free: 3.246 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.3668, allocations: 29.69 kB / 472.1 MB, free: 3.211 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.346e-05/0.3668, allocations: 84.8 kB / 472.2 MB, free: 3.125 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.3668, allocations: 4.688 kB / 472.2 MB, free: 3.121 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.3668, allocations: 0 / 472.2 MB, free: 3.121 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.3669, allocations: 312.8 kB / 472.5 MB, free: 2.809 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.07e-05/0.367, allocations: 4 kB / 472.5 MB, free: 2.805 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.831e-06/0.367, allocations: 0 / 472.5 MB, free: 2.805 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.899e-05/0.367, allocations: 4.438 kB / 472.5 MB, free: 2.801 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.367, allocations: 7.75 kB / 472.5 MB, free: 2.797 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.581e-05/0.3671, allocations: 33.7 kB / 472.5 MB, free: 2.758 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3671, allocations: 12.58 kB / 472.6 MB, free: 2.746 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3671, allocations: 4.734 kB / 472.6 MB, free: 2.742 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.3671, allocations: 3.938 kB / 472.6 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.694e-05/0.3672, allocations: 1.281 kB / 472.6 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3672, allocations: 4 kB / 472.6 MB, free: 2.734 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.272e-05/0.3672, allocations: 0 / 472.6 MB, free: 2.734 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.3672, allocations: 1.062 kB / 472.6 MB, free: 2.734 MB / 314.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 () * 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.759e-05/0.3673, allocations: 104.8 kB / 472.7 MB, free: 2.625 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.61e-05/0.3673, allocations: 34.67 kB / 472.7 MB, free: 2.586 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/0.3674, allocations: 7.953 kB / 472.7 MB, free: 2.578 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.019e-05/0.3674, allocations: 8.297 kB / 472.7 MB, free: 2.574 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3674, allocations: 0.5938 kB / 472.7 MB, free: 2.574 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3674, allocations: 0 / 472.7 MB, free: 2.574 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3674, allocations: 0.5312 kB / 472.7 MB, free: 2.574 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.3676, allocations: 127.3 kB / 472.8 MB, free: 2.414 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3676, allocations: 1.312 kB / 472.8 MB, free: 2.414 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.973e-05/0.3676, allocations: 7.984 kB / 472.9 MB, free: 2.406 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3676, allocations: 0.5625 kB / 472.9 MB, free: 2.406 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.3676, allocations: 4.672 kB / 472.9 MB, free: 2.402 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3676, allocations: 0 / 472.9 MB, free: 2.402 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3676, allocations: 0.5 kB / 472.9 MB, free: 2.402 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.3678, allocations: 58.89 kB / 472.9 MB, free: 2.328 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.3678, allocations: 77.11 kB / 473 MB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.3678, allocations: 8.828 kB / 473 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.505e-05/0.3678, allocations: 6.578 kB / 473 MB, free: 2.223 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.3679, allocations: 0.8125 kB / 473 MB, free: 2.223 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.3679, allocations: 0.5625 kB / 473 MB, free: 2.223 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.676e-05/0.3679, allocations: 80.09 kB / 473.1 MB, free: 2.145 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3679, allocations: 0.8125 kB / 473.1 MB, free: 2.145 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001979/0.3681, allocations: 4 kB / 473.1 MB, free: 2.141 MB / 314.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 () * 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.0003713/0.3685, allocations: 0.5989 MB / 473.7 MB, free: 1.516 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.87e-05/0.3686, allocations: 8.719 kB / 473.7 MB, free: 1.508 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3686, allocations: 1.781 kB / 473.7 MB, free: 1.508 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.236e-06/0.3686, allocations: 3.938 kB / 473.7 MB, free: 1.504 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.895e-05/0.3687, allocations: 8.516 kB / 473.7 MB, free: 1.496 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.3691, allocations: 96.08 kB / 473.8 MB, free: 1.371 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.3693, allocations: 0.6775 MB / 474.5 MB, free: 0.668 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.968e-05/0.3693, allocations: 1.031 kB / 474.5 MB, free: 0.668 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.827e-05/0.3693, allocations: 7.438 kB / 474.5 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3694, allocations: 0 / 474.5 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/0.3869, allocations: 482.2 kB / 475 MB, free: 244 kB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.3872, allocations: 166.4 kB / 475.1 MB, free: 48 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.407/1.794, allocations: 0 / 475.1 MB, free: 48 kB / 314.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)