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.00101/0.00101, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001031/0.001031, allocations: 187.4 kB / 16.25 MB, free: 6.145 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.417/1.417, allocations: 205.1 MB / 222.1 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.1153/0.1153, allocations: 8.108 MB / 277.6 MB, free: 13.16 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.001219/0.001219, allocations: 63.91 kB / 336.8 MB, free: 26.74 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06897/0.0702, allocations: 48.31 MB / 385.1 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001239/0.07146, allocations: 443.9 kB / 385.5 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 7.36e-05/0.07154, allocations: 19.95 kB / 385.5 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.914e-06/0.07157, allocations: 8 kB / 385.5 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.213e-06/0.07158, allocations: 0 / 385.5 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.174e-06/0.07159, allocations: 0 / 385.5 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.288e-05/0.07164, allocations: 0 / 385.5 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 1.775e-05/0.07167, allocations: 0 / 385.5 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.523e-05/0.0717, allocations: 5.719 kB / 385.6 MB, free: 9.922 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.48e-06/0.07171, allocations: 0 / 385.6 MB, free: 9.922 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.84e-05/0.07173, allocations: 4 kB / 385.6 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.859e-06/0.07174, allocations: 0 / 385.6 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.709e-06/0.07175, allocations: 0 / 385.6 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.143e-06/0.07176, allocations: 7.922 kB / 385.6 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.117e-05/0.07178, allocations: 8 kB / 385.6 MB, free: 9.902 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 1.757e-05/0.0718, allocations: 0 / 385.6 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.0718, allocations: 0 / 385.6 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.031e-06/0.07181, allocations: 3.938 kB / 385.6 MB, free: 9.898 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.115e-06/0.07182, allocations: 0 / 385.6 MB, free: 9.898 MB / 286.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.0002206/0.07204, allocations: 319 kB / 385.9 MB, free: 9.539 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.354e-05/0.07207, allocations: 8.031 kB / 385.9 MB, free: 9.531 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.033e-05/0.07209, allocations: 30.75 kB / 385.9 MB, free: 9.492 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.405e-05/0.07211, allocations: 4.938 kB / 385.9 MB, free: 9.488 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.699e-05/0.07219, allocations: 168.4 kB / 386.1 MB, free: 9.285 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.638e-06/0.07221, allocations: 4.375 kB / 386.1 MB, free: 9.281 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.07222, allocations: 384 / 386.1 MB, free: 9.281 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5e-05/0.07227, allocations: 26.27 kB / 386.1 MB, free: 9.25 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.599e-06/0.07229, allocations: 7.938 kB / 386.1 MB, free: 9.242 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-06/0.07229, allocations: 0 / 386.1 MB, free: 9.242 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-06/0.0723, allocations: 0 / 386.1 MB, free: 9.242 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.659e-06/0.07231, allocations: 0 / 386.1 MB, free: 9.242 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.0725, allocations: 157.7 kB / 386.3 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.519e-05/0.07253, allocations: 26.55 kB / 386.3 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.072e-05/0.07255, allocations: 4.859 kB / 386.3 MB, free: 8.996 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.378e-06/0.07256, allocations: 0 / 386.3 MB, free: 8.996 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.07258, allocations: 30.56 kB / 386.3 MB, free: 8.957 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.07258, allocations: 4.062 kB / 386.4 MB, free: 8.953 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 6.587e-05/0.07265, allocations: 45.56 kB / 386.4 MB, free: 8.902 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.07268, allocations: 51.53 kB / 386.4 MB, free: 8.84 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.117e-05/0.07273, allocations: 93.86 kB / 386.5 MB, free: 8.738 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.07274, allocations: 25.7 kB / 386.6 MB, free: 8.707 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.43e-05/0.07277, allocations: 84.08 kB / 386.6 MB, free: 8.621 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.064e-05/0.07279, allocations: 3.906 kB / 386.7 MB, free: 8.617 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.07282, allocations: 13.72 kB / 386.7 MB, free: 8.598 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.697e-05/0.07292, allocations: 314.8 kB / 387 MB, free: 8.281 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.656e-06/0.07294, allocations: 4 kB / 387 MB, free: 8.277 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-06/0.07295, allocations: 0 / 387 MB, free: 8.277 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.914e-05/0.07297, allocations: 16.91 kB / 387 MB, free: 8.258 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.07298, allocations: 0 / 387 MB, free: 8.258 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.866e-05/0.07303, allocations: 41.64 kB / 387 MB, free: 8.211 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.07304, allocations: 6.188 kB / 387 MB, free: 8.207 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.07305, allocations: 3.938 kB / 387 MB, free: 8.203 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.18e-06/0.07306, allocations: 4 kB / 387 MB, free: 8.199 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.85e-05/0.07309, allocations: 0 / 387 MB, free: 8.199 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-06/0.07309, allocations: 0 / 387 MB, free: 8.199 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.049e-05/0.07311, allocations: 4 kB / 387 MB, free: 8.195 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-06/0.07312, allocations: 4.031 kB / 387.1 MB, free: 8.191 MB / 286.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 5.602e-05/0.07318, allocations: 109.8 kB / 387.2 MB, free: 8.074 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-06/0.07319, allocations: 4 kB / 387.2 MB, free: 8.07 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.199e-05/0.07321, allocations: 11 kB / 387.2 MB, free: 8.055 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.07321, allocations: 0 / 387.2 MB, free: 8.055 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-06/0.07322, allocations: 4 kB / 387.2 MB, free: 8.051 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-06/0.07322, allocations: 0 / 387.2 MB, free: 8.051 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.07335, allocations: 149.7 kB / 387.3 MB, free: 7.855 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.07335, allocations: 0 / 387.3 MB, free: 7.855 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.898e-05/0.07338, allocations: 4 kB / 387.3 MB, free: 7.852 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.185e-06/0.07339, allocations: 4 kB / 387.3 MB, free: 7.848 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.0734, allocations: 3.938 kB / 387.3 MB, free: 7.844 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.0734, allocations: 0 / 387.3 MB, free: 7.844 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.07341, allocations: 0 / 387.3 MB, free: 7.844 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.284e-05/0.07348, allocations: 65.06 kB / 387.4 MB, free: 7.762 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.07352, allocations: 77.11 kB / 387.5 MB, free: 7.668 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-06/0.07353, allocations: 8.031 kB / 387.5 MB, free: 7.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.022e-05/0.07355, allocations: 0 / 387.5 MB, free: 7.66 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-06/0.07356, allocations: 4.031 kB / 387.5 MB, free: 7.656 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.07357, allocations: 0 / 387.5 MB, free: 7.656 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.944e-05/0.0736, allocations: 75.28 kB / 387.6 MB, free: 7.582 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.0736, allocations: 3.938 kB / 387.6 MB, free: 7.578 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001548/0.07376, allocations: 0 / 387.6 MB, free: 7.578 MB / 286.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.0002638/0.07403, allocations: 0.601 MB / 388.2 MB, free: 6.949 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 3.775e-05/0.07408, allocations: 8 kB / 388.2 MB, free: 6.941 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-06/0.07408, allocations: 0 / 388.2 MB, free: 6.941 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.666e-06/0.0741, allocations: 7.984 kB / 388.2 MB, free: 6.934 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.912e-05/0.0742, allocations: 7.5 kB / 388.2 MB, free: 6.93 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006492/0.07485, allocations: 1.063 MB / 389.3 MB, free: 5.785 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.07506, allocations: 0.6805 MB / 389.9 MB, free: 5.078 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.001e-05/0.07508, allocations: 0 / 389.9 MB, free: 5.078 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.235e-05/0.07509, allocations: 7.438 kB / 389.9 MB, free: 5.07 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.0751, allocations: 0 / 389.9 MB, free: 5.07 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009137/0.08424, allocations: 0.8793 MB / 390.8 MB, free: 4.285 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.08444, allocations: 224.4 kB / 391 MB, free: 4.031 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.49/1.574, allocations: 0 / 391 MB, free: 4.031 MB / 286.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)