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.006533/0.006533, allocations: 100 kB / 15.73 MB, free: 6.043 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.001286/0.001286, allocations: 185.4 kB / 16.67 MB, free: 5.977 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.356/1.356, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.09131/0.09131, allocations: 8.12 MB / 278 MB, free: 13.11 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.001536/0.001536, allocations: 59.91 kB / 386.1 MB, free: 9.594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2544, allocations: 48.3 MB / 434.5 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.00134/0.2558, allocations: 393.2 kB / 434.8 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001316/0.256, allocations: 20.39 kB / 434.9 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.326e-05/0.256, allocations: 0 / 434.9 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.102e-05/0.256, allocations: 0 / 434.9 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.48e-06/0.256, allocations: 1.375 kB / 434.9 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001259/0.2562, allocations: 6.312 kB / 434.9 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.03e-05/0.2562, allocations: 6.172 kB / 434.9 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.81e-05/0.2563, allocations: 2.031 kB / 434.9 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.478e-05/0.2563, allocations: 0 / 434.9 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.209e-05/0.2563, allocations: 2.078 kB / 434.9 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.2563, allocations: 0 / 434.9 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.512e-06/0.2564, allocations: 1.375 kB / 434.9 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.2564, allocations: 3.984 kB / 434.9 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.2564, allocations: 3.938 kB / 434.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 4.93e-05/0.2564, allocations: 1.984 kB / 434.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2565, allocations: 3.938 kB / 434.9 MB, free: 7.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.2565, allocations: 4.75 kB / 434.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.2565, allocations: 1.375 kB / 434.9 MB, free: 7.211 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.0002722/0.2568, allocations: 312.6 kB / 435.2 MB, free: 6.859 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.2568, allocations: 9.625 kB / 435.2 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.192e-05/0.2568, allocations: 30.75 kB / 435.2 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.006e-05/0.2568, allocations: 3.203 kB / 435.2 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.867e-05/0.2569, allocations: 161.1 kB / 435.4 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.2569, allocations: 1.75 kB / 435.4 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.2569, allocations: 384 / 435.4 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.571e-05/0.257, allocations: 34.61 kB / 435.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.257, allocations: 3.938 kB / 435.4 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-06/0.2571, allocations: 0 / 435.4 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2571, allocations: 0 / 435.4 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.681e-05/0.2571, allocations: 5.312 kB / 435.4 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.2573, allocations: 154.7 kB / 435.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.69e-05/0.2573, allocations: 17.33 kB / 435.6 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.589e-05/0.2574, allocations: 9.469 kB / 435.6 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.782e-06/0.2574, allocations: 1.375 kB / 435.6 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.18e-05/0.2574, allocations: 31.27 kB / 435.7 MB, free: 6.316 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.2574, allocations: 1.375 kB / 435.7 MB, free: 6.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001164/0.2575, allocations: 42.95 kB / 435.7 MB, free: 6.273 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.2575, allocations: 53.5 kB / 435.7 MB, free: 6.211 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.779e-05/0.2576, allocations: 89.86 kB / 435.8 MB, free: 6.113 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.931e-06/0.2576, allocations: 25.7 kB / 435.9 MB, free: 6.082 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.015e-05/0.2576, allocations: 90.2 kB / 436 MB, free: 5.992 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.2576, allocations: 3.906 kB / 436 MB, free: 5.988 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.2577, allocations: 21.48 kB / 436 MB, free: 5.965 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.264e-05/0.2577, allocations: 312.7 kB / 436.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.05e-05/0.2577, allocations: 1.312 kB / 436.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.935e-06/0.2577, allocations: 3.531 kB / 436.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.091e-05/0.2578, allocations: 11.64 kB / 436.3 MB, free: 5.641 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2578, allocations: 5.469 kB / 436.3 MB, free: 5.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.638e-05/0.2578, allocations: 38.44 kB / 436.3 MB, free: 5.602 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.2578, allocations: 5.531 kB / 436.3 MB, free: 5.602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.2579, allocations: 3.938 kB / 436.3 MB, free: 5.598 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.2579, allocations: 1.797 kB / 436.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.673e-05/0.2579, allocations: 2.125 kB / 436.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.2579, allocations: 1.719 kB / 436.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.339e-05/0.2579, allocations: 4 kB / 436.4 MB, free: 5.594 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.2579, allocations: 1.125 kB / 436.4 MB, free: 5.594 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.943e-05/0.258, allocations: 115.8 kB / 436.5 MB, free: 5.473 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-06/0.258, allocations: 0.75 kB / 436.5 MB, free: 5.473 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.531e-05/0.258, allocations: 8.375 kB / 436.5 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.258, allocations: 0 / 436.5 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.258, allocations: 0.75 kB / 436.5 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2581, allocations: 1.312 kB / 436.5 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.808e-05/0.2582, allocations: 148.3 kB / 436.6 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2582, allocations: 2.141 kB / 436.6 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.535e-05/0.2582, allocations: 5.344 kB / 436.6 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2582, allocations: 0.75 kB / 436.6 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.2582, allocations: 9.125 kB / 436.6 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2582, allocations: 0 / 436.6 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2582, allocations: 0 / 436.6 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.347e-05/0.2583, allocations: 69.83 kB / 436.7 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.638e-05/0.2584, allocations: 77.11 kB / 436.8 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.2584, allocations: 6.641 kB / 436.8 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.006e-05/0.2584, allocations: 0 / 436.8 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.055e-05/0.2584, allocations: 4.094 kB / 436.8 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.2584, allocations: 1.219 kB / 436.8 MB, free: 5.094 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.687e-05/0.2584, allocations: 80.69 kB / 436.9 MB, free: 5.016 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2584, allocations: 0 / 436.9 MB, free: 5.016 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001694/0.2586, allocations: 1.125 kB / 436.9 MB, free: 5.016 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.0002295/0.2588, allocations: 0.6094 MB / 437.5 MB, free: 4.402 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.679e-05/0.2589, allocations: 5.891 kB / 437.5 MB, free: 4.402 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2589, allocations: 5.312 kB / 437.5 MB, free: 4.398 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.113e-06/0.2589, allocations: 1.984 kB / 437.5 MB, free: 4.398 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.2591, allocations: 1.469 kB / 437.5 MB, free: 4.398 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006464/0.2597, allocations: 1.057 MB / 438.6 MB, free: 3.309 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.2599, allocations: 0.6734 MB / 439.2 MB, free: 2.613 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.065e-05/0.2599, allocations: 4.672 kB / 439.2 MB, free: 2.609 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.971e-05/0.2599, allocations: 7.438 kB / 439.2 MB, free: 2.602 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2599, allocations: 1.5 kB / 439.2 MB, free: 2.602 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01698/0.2769, allocations: 0.9651 MB / 440.2 MB, free: 2.191 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.236/7.512, allocations: 24.48 kB / 440.2 MB, free: 2.172 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)