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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009034/0.009034, allocations: 100.9 kB / 15.73 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001363, allocations: 195.9 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.1 MB / 222.6 MB, free: 4.375 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.113/0.113, allocations: 8.113 MB / 278 MB, free: 12.95 MB / 238.1 MB 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.001626/0.001627, allocations: 63.89 kB / 386.2 MB, free: 9.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3006, allocations: 48.3 MB / 434.5 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001544/0.3022, allocations: 393.7 kB / 434.8 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001541/0.3024, allocations: 21.92 kB / 434.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.973e-05/0.3024, allocations: 0 / 434.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.303e-05/0.3024, allocations: 1.25 kB / 434.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.601e-06/0.3024, allocations: 0 / 434.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.3026, allocations: 9.156 kB / 434.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.049e-05/0.3026, allocations: 1.953 kB / 434.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.245e-05/0.3027, allocations: 1.797 kB / 434.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.454e-05/0.3027, allocations: 1.891 kB / 434.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.535e-05/0.3028, allocations: 1.125 kB / 434.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.3028, allocations: 0 / 434.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.564e-06/0.3028, allocations: 0 / 434.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.3028, allocations: 5.859 kB / 434.9 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.3028, allocations: 7.938 kB / 434.9 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 4.748e-05/0.3029, allocations: 1.766 kB / 434.9 MB, free: 7.199 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3029, allocations: 0 / 434.9 MB, free: 7.199 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3029, allocations: 4 kB / 434.9 MB, free: 7.195 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.3029, allocations: 1.156 kB / 434.9 MB, free: 7.195 MB / 318.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.0002428/0.3032, allocations: 309.6 kB / 435.2 MB, free: 6.848 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3032, allocations: 9.688 kB / 435.2 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.688e-05/0.3032, allocations: 35.3 kB / 435.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.379e-05/0.3033, allocations: 0.9375 kB / 435.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.872e-05/0.3033, allocations: 162.9 kB / 435.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3034, allocations: 1.125 kB / 435.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.3034, allocations: 5.75 kB / 435.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.578e-05/0.3035, allocations: 32.48 kB / 435.4 MB, free: 6.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3035, allocations: 3.938 kB / 435.4 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.3035, allocations: 1.375 kB / 435.4 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.3035, allocations: 0 / 435.4 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.599e-05/0.3035, allocations: 1.891 kB / 435.4 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002475/0.3038, allocations: 150.1 kB / 435.6 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.77e-05/0.3038, allocations: 24.45 kB / 435.6 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.481e-05/0.3038, allocations: 10.23 kB / 435.6 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.3038, allocations: 0.6094 kB / 435.6 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.3039, allocations: 31.94 kB / 435.7 MB, free: 6.297 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.3039, allocations: 0 / 435.7 MB, free: 6.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001047/0.304, allocations: 37.2 kB / 435.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/0.304, allocations: 55.34 kB / 435.7 MB, free: 6.195 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.013e-05/0.304, allocations: 95.84 kB / 435.8 MB, free: 6.094 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.242e-06/0.304, allocations: 25.83 kB / 435.9 MB, free: 6.062 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.011e-05/0.3041, allocations: 84.14 kB / 436 MB, free: 5.977 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.3041, allocations: 6.266 kB / 436 MB, free: 5.973 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.3041, allocations: 13.45 kB / 436 MB, free: 5.957 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.134e-05/0.3042, allocations: 314.8 kB / 436.3 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.244e-05/0.3042, allocations: 6.406 kB / 436.3 MB, free: 5.637 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.722e-06/0.3042, allocations: 2.75 kB / 436.3 MB, free: 5.637 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.779e-05/0.3042, allocations: 13.86 kB / 436.3 MB, free: 5.625 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3042, allocations: 4.062 kB / 436.3 MB, free: 5.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.765e-05/0.3043, allocations: 42.25 kB / 436.3 MB, free: 5.582 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.3043, allocations: 5.5 kB / 436.4 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.3043, allocations: 3.938 kB / 436.4 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3043, allocations: 1.375 kB / 436.4 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.585e-05/0.3044, allocations: 3.969 kB / 436.4 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.3044, allocations: 0 / 436.4 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.167e-05/0.3044, allocations: 1.375 kB / 436.4 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.3044, allocations: 0 / 436.4 MB, free: 5.578 MB / 318.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 4.421e-05/0.3044, allocations: 116.1 kB / 436.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-06/0.3044, allocations: 1.375 kB / 436.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.692e-05/0.3045, allocations: 15.06 kB / 436.5 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3045, allocations: 0.7031 kB / 436.5 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3045, allocations: 0 / 436.5 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3045, allocations: 1.375 kB / 436.5 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.56e-05/0.3046, allocations: 149.1 kB / 436.6 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3046, allocations: 1.375 kB / 436.6 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.161e-05/0.3046, allocations: 2.453 kB / 436.6 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.3046, allocations: 0 / 436.6 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.026e-06/0.3046, allocations: 9.312 kB / 436.7 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3046, allocations: 0 / 436.7 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3047, allocations: 0 / 436.7 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.899e-05/0.3047, allocations: 64.05 kB / 436.7 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.3048, allocations: 83.03 kB / 436.8 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.3048, allocations: 5.25 kB / 436.8 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.119e-05/0.3048, allocations: 1.375 kB / 436.8 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.347e-06/0.3048, allocations: 4.094 kB / 436.8 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-06/0.3048, allocations: 1.375 kB / 436.8 MB, free: 5.074 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.402e-05/0.3048, allocations: 76.92 kB / 436.9 MB, free: 5 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3049, allocations: 0 / 436.9 MB, free: 5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001853/0.305, allocations: 1.375 kB / 436.9 MB, free: 5 MB / 318.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.0002128/0.3053, allocations: 0.6004 MB / 437.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.925e-05/0.3053, allocations: 18.61 kB / 437.5 MB, free: 4.383 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3054, allocations: 0 / 437.5 MB, free: 4.383 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.155e-06/0.3054, allocations: 3.922 kB / 437.5 MB, free: 4.383 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.3055, allocations: 0 / 437.5 MB, free: 4.383 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005832/0.3061, allocations: 1.063 MB / 438.6 MB, free: 3.289 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.109e-05/0.3062, allocations: 0.672 MB / 439.2 MB, free: 2.594 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.903e-05/0.3062, allocations: 5.891 kB / 439.2 MB, free: 2.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.816e-05/0.3062, allocations: 7.438 kB / 439.3 MB, free: 2.582 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3062, allocations: 1.094 kB / 439.3 MB, free: 2.582 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.3262, allocations: 0.9681 MB / 440.2 MB, free: 2.172 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.337/7.663, allocations: 22.12 kB / 440.2 MB, free: 2.152 MB / 318.1 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/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)