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.001478/0.001478, allocations: 182.2 kB / 12.74 MB, free: 2.582 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.482/1.482, allocations: 194.3 MB / 207.5 MB, free: 3.445 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03665/0.03665, allocations: 7.907 MB / 260.4 MB, free: 13.78 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.001607/0.001607, allocations: 112.4 kB / 307.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.339e-05/3.34e-05, allocations: 3.984 kB / 361.3 MB, free: 8.613 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2316, allocations: 46.19 MB / 407.5 MB, free: 67.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07851/0.3102, allocations: 70.86 MB / 478.4 MB, free: 12.06 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001444/0.3103, allocations: 51.98 kB / 478.4 MB, free: 12.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0005973/0.311, allocations: 372.8 kB / 478.8 MB, free: 11.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.311, allocations: 0 / 478.8 MB, free: 11.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.311, allocations: 4 kB / 478.8 MB, free: 11.64 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.00023/0.3112, allocations: 315.5 kB / 479.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3113, allocations: 8.031 kB / 479.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.558e-05/0.3113, allocations: 34.56 kB / 479.2 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.926e-05/0.3113, allocations: 0 / 479.2 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.926e-05/0.3114, allocations: 167 kB / 479.3 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.3115, allocations: 0 / 479.3 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.3115, allocations: 0 / 479.3 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.458e-05/0.3116, allocations: 29.7 kB / 479.4 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.3116, allocations: 0 / 479.4 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.3116, allocations: 3.984 kB / 479.4 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.3116, allocations: 3.984 kB / 479.4 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.577e-05/0.3117, allocations: 3.938 kB / 479.4 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002804/0.3119, allocations: 157.6 kB / 479.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.41e-05/0.312, allocations: 18.58 kB / 479.5 MB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.312, allocations: 8.953 kB / 479.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.612e-06/0.312, allocations: 0 / 479.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.3121, allocations: 38.55 kB / 479.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.3121, allocations: 0 / 479.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001095/0.3122, allocations: 33.64 kB / 479.6 MB, free: 10.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.3122, allocations: 55.44 kB / 479.7 MB, free: 10.6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.409e-05/0.3123, allocations: 85 kB / 479.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.3123, allocations: 25.7 kB / 479.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.095e-05/0.3123, allocations: 80.14 kB / 479.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.3123, allocations: 7.906 kB / 479.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-06/0.3124, allocations: 0 / 479.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.3125, allocations: 314.8 kB / 480.2 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.898e-06/0.3125, allocations: 0 / 480.2 MB, free: 10.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.155e-06/0.3125, allocations: 4 kB / 480.2 MB, free: 10.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.921e-05/0.3125, allocations: 11.98 kB / 480.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.3125, allocations: 0 / 480.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.093e-05/0.3126, allocations: 45.59 kB / 480.2 MB, free: 10 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3126, allocations: 15.38 kB / 480.2 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3126, allocations: 0 / 480.2 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.3126, allocations: 0 / 480.2 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.51e-05/0.3127, allocations: 4 kB / 480.2 MB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.3127, allocations: 0 / 480.2 MB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.049e-05/0.3127, allocations: 0 / 480.2 MB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.3127, allocations: 4.031 kB / 480.3 MB, free: 9.984 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 () * 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 5.663e-05/0.3128, allocations: 101 kB / 480.4 MB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-06/0.3128, allocations: 7.938 kB / 480.4 MB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.624e-05/0.3128, allocations: 7.125 kB / 480.4 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.3128, allocations: 0 / 480.4 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3128, allocations: 0 / 480.4 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.3128, allocations: 0 / 480.4 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.3129, allocations: 149.7 kB / 480.5 MB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.313, allocations: 0 / 480.5 MB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.408e-05/0.313, allocations: 4 kB / 480.5 MB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.313, allocations: 7.953 kB / 480.5 MB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.313, allocations: 0 / 480.5 MB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.313, allocations: 4 kB / 480.5 MB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.313, allocations: 0 / 480.5 MB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.032e-05/0.3131, allocations: 65.06 kB / 480.6 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/0.3132, allocations: 77.11 kB / 480.7 MB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.3132, allocations: 7.984 kB / 480.7 MB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.075e-05/0.3132, allocations: 4.094 kB / 480.7 MB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.3132, allocations: 0 / 480.7 MB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.3132, allocations: 4 kB / 480.7 MB, free: 9.465 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.336e-05/0.3132, allocations: 75.28 kB / 480.8 MB, free: 9.391 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3133, allocations: 0 / 480.8 MB, free: 9.391 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001827/0.3134, allocations: 4 kB / 480.8 MB, free: 9.387 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 () * 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.0003451/0.3138, allocations: 0.6007 MB / 481.4 MB, free: 8.754 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 5.236e-05/0.3139, allocations: 6.719 kB / 481.4 MB, free: 8.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3139, allocations: 0 / 481.4 MB, free: 8.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.993e-06/0.3139, allocations: 4 kB / 481.4 MB, free: 8.746 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.431e-05/0.314, allocations: 3.953 kB / 481.4 MB, free: 8.742 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.3143, allocations: 104.8 kB / 481.5 MB, free: 8.605 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.3145, allocations: 0.677 MB / 482.2 MB, free: 7.902 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.698e-05/0.3145, allocations: 4 kB / 482.2 MB, free: 7.898 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.706e-05/0.3145, allocations: 7.438 kB / 482.2 MB, free: 7.891 MB / 330.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3145, allocations: 3.938 kB / 482.2 MB, free: 7.887 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01027/0.3248, allocations: 0.7668 MB / 482.9 MB, free: 7.242 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/0.325, allocations: 178.9 kB / 483.1 MB, free: 7.016 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.43/1.755, allocations: 3.797 kB / 483.1 MB, free: 7.016 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)