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.008881/0.008881, allocations: 100.1 kB / 15.73 MB, free: 6.062 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.002118/0.002118, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.682/1.682, allocations: 205.1 MB / 222.6 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.1319/0.1319, allocations: 8.116 MB / 278 MB, free: 13.06 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.002206/0.002206, allocations: 68.27 kB / 386.2 MB, free: 9.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3053, allocations: 48.29 MB / 434.5 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001438/0.3068, allocations: 395.7 kB / 434.8 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001554/0.307, allocations: 21.67 kB / 434.9 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.023e-05/0.307, allocations: 0 / 434.9 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.264e-05/0.307, allocations: 0 / 434.9 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.21e-06/0.307, allocations: 0 / 434.9 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001454/0.3072, allocations: 5.375 kB / 434.9 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.27e-05/0.3072, allocations: 2.75 kB / 434.9 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.3073, allocations: 2.688 kB / 434.9 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.372e-05/0.3073, allocations: 7.984 kB / 434.9 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.741e-05/0.3073, allocations: 1.375 kB / 434.9 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.3074, allocations: 0 / 434.9 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.183e-06/0.3074, allocations: 0 / 434.9 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.3074, allocations: 5.312 kB / 434.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.161e-05/0.3074, allocations: 4.75 kB / 434.9 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 5.327e-05/0.3075, allocations: 2.078 kB / 434.9 MB, free: 7.215 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3075, allocations: 0 / 434.9 MB, free: 7.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3075, allocations: 0 / 434.9 MB, free: 7.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.3075, allocations: 0 / 434.9 MB, free: 7.215 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.0002728/0.3078, allocations: 313.5 kB / 435.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3078, allocations: 9.469 kB / 435.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.379e-05/0.3079, allocations: 32.52 kB / 435.2 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.187e-05/0.3079, allocations: 0.9375 kB / 435.2 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.61e-05/0.308, allocations: 166.7 kB / 435.4 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.308, allocations: 384 / 435.4 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.308, allocations: 1.344 kB / 435.4 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.249e-05/0.3081, allocations: 32.89 kB / 435.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3081, allocations: 5.969 kB / 435.4 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-06/0.3081, allocations: 4 kB / 435.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3081, allocations: 0 / 435.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.59e-05/0.3081, allocations: 1.062 kB / 435.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002197/0.3084, allocations: 154.8 kB / 435.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.967e-05/0.3084, allocations: 23.8 kB / 435.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.465e-05/0.3084, allocations: 7.984 kB / 435.6 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.3085, allocations: 0 / 435.6 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.3085, allocations: 35.59 kB / 435.7 MB, free: 6.309 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.3085, allocations: 3.984 kB / 435.7 MB, free: 6.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001146/0.3086, allocations: 37.44 kB / 435.7 MB, free: 6.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/0.3086, allocations: 51.41 kB / 435.8 MB, free: 6.207 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.829e-05/0.3087, allocations: 94.95 kB / 435.9 MB, free: 6.105 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.264e-06/0.3087, allocations: 26.73 kB / 435.9 MB, free: 6.074 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.863e-05/0.3087, allocations: 80.14 kB / 436 MB, free: 5.992 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.3087, allocations: 12.73 kB / 436 MB, free: 5.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.3088, allocations: 16.7 kB / 436 MB, free: 5.961 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.434e-05/0.3088, allocations: 312.8 kB / 436.3 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.218e-05/0.3088, allocations: 5.922 kB / 436.3 MB, free: 5.645 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-06/0.3088, allocations: 2.125 kB / 436.3 MB, free: 5.645 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.811e-05/0.3089, allocations: 9.641 kB / 436.3 MB, free: 5.637 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3089, allocations: 4 kB / 436.3 MB, free: 5.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.676e-05/0.3089, allocations: 39.12 kB / 436.3 MB, free: 5.598 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.3089, allocations: 5.719 kB / 436.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.309, allocations: 7.938 kB / 436.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.309, allocations: 1.375 kB / 436.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.621e-05/0.309, allocations: 7.594 kB / 436.4 MB, free: 5.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.309, allocations: 0 / 436.4 MB, free: 5.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.195e-05/0.309, allocations: 1.312 kB / 436.4 MB, free: 5.586 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.309, allocations: 0.9375 kB / 436.4 MB, free: 5.586 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.031e-05/0.3091, allocations: 110.8 kB / 436.5 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-06/0.3091, allocations: 2.25 kB / 436.5 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.596e-05/0.3091, allocations: 15.06 kB / 436.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3091, allocations: 1.125 kB / 436.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3091, allocations: 0 / 436.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3091, allocations: 1.031 kB / 436.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.778e-05/0.3092, allocations: 149 kB / 436.6 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3093, allocations: 0.5625 kB / 436.6 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.407e-05/0.3093, allocations: 2.75 kB / 436.7 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3093, allocations: 0.75 kB / 436.7 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.3093, allocations: 3.938 kB / 436.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3093, allocations: 0.8438 kB / 436.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3093, allocations: 1.031 kB / 436.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.971e-05/0.3094, allocations: 68.02 kB / 436.7 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.547e-05/0.3094, allocations: 78.14 kB / 436.8 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.3094, allocations: 5.953 kB / 436.8 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.095e-05/0.3095, allocations: 3.938 kB / 436.8 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/0.3095, allocations: 1.734 kB / 436.8 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.3095, allocations: 0 / 436.8 MB, free: 5.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.447e-05/0.3095, allocations: 81.16 kB / 436.9 MB, free: 5.012 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.11e-07/0.3095, allocations: 0 / 436.9 MB, free: 5.012 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001716/0.3097, allocations: 3.938 kB / 436.9 MB, free: 5.008 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.0002056/0.3099, allocations: 0.5966 MB / 437.5 MB, free: 4.406 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.008e-05/0.31, allocations: 18.06 kB / 437.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.31, allocations: 0 / 437.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.292e-06/0.31, allocations: 2.344 kB / 437.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.3101, allocations: 2.219 kB / 437.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005806/0.3107, allocations: 1.048 MB / 438.6 MB, free: 3.312 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.173e-05/0.3108, allocations: 0.672 MB / 439.2 MB, free: 2.617 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.964e-05/0.3108, allocations: 1.25 kB / 439.2 MB, free: 2.617 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.3109, allocations: 7.438 kB / 439.2 MB, free: 2.609 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3109, allocations: 4.031 kB / 439.2 MB, free: 2.605 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.3367, allocations: 0.9736 MB / 440.2 MB, free: 2.188 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.324, allocations: 8.344 kB / 440.2 MB, free: 2.184 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)