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: translateModel(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment") translateModel(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 109.9 kB / 16.41 MB, free: 6.508 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.001159/0.001159, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.303/1.303, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.103/0.103, allocations: 8.103 MB / 278.7 MB, free: 3.934 MB / 222.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.001472/0.001472, allocations: 73.25 kB / 387.3 MB, free: 47.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06924/0.07072, allocations: 48.32 MB / 435.6 MB, free: 8.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001291/0.07204, allocations: 388.5 kB / 436 MB, free: 8.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001226/0.07218, allocations: 15.92 kB / 436 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.475e-05/0.07221, allocations: 0 / 436 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.418e-06/0.07223, allocations: 4 kB / 436 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.17e-06/0.07224, allocations: 0 / 436 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001179/0.07236, allocations: 7.984 kB / 436 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.913e-05/0.07241, allocations: 0 / 436 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.07245, allocations: 0 / 436 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.332e-05/0.07247, allocations: 7.984 kB / 436 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.04e-05/0.07256, allocations: 0 / 436 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.07257, allocations: 0 / 436 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.53e-06/0.07258, allocations: 0 / 436 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.0726, allocations: 0 / 436 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.07262, allocations: 4 kB / 436 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 4.34e-05/0.07267, allocations: 12 kB / 436.1 MB, free: 8.168 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.07268, allocations: 3.938 kB / 436.1 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.07269, allocations: 0 / 436.1 MB, free: 8.164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.0727, allocations: 3.938 kB / 436.1 MB, free: 8.16 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.0002435/0.07295, allocations: 311.6 kB / 436.4 MB, free: 7.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.07298, allocations: 8.031 kB / 436.4 MB, free: 7.797 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.242e-05/0.07301, allocations: 0.9375 kB / 436.4 MB, free: 7.797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.273e-05/0.07306, allocations: 160.4 kB / 436.5 MB, free: 7.602 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.07307, allocations: 384 / 436.5 MB, free: 7.602 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.0731, allocations: 4.375 kB / 436.5 MB, free: 7.598 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.329e-05/0.07318, allocations: 38.25 kB / 436.6 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.07319, allocations: 192 / 436.6 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.0732, allocations: 3.938 kB / 436.6 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.07321, allocations: 0 / 436.6 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.533e-05/0.07323, allocations: 4 kB / 436.6 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002299/0.07347, allocations: 149.7 kB / 436.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.02e-05/0.07351, allocations: 18.52 kB / 436.7 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.457e-05/0.07353, allocations: 16.95 kB / 436.8 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.07354, allocations: 0 / 436.8 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.009e-05/0.07356, allocations: 30.56 kB / 436.8 MB, free: 7.266 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.07356, allocations: 0 / 436.8 MB, free: 7.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001297/0.0737, allocations: 37.58 kB / 436.8 MB, free: 7.223 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.642e-05/0.07372, allocations: 55.41 kB / 436.9 MB, free: 7.156 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.488e-05/0.07374, allocations: 93.84 kB / 437 MB, free: 7.055 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.5e-06/0.07375, allocations: 29.77 kB / 437 MB, free: 7.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.338e-06/0.07377, allocations: 88.14 kB / 437.1 MB, free: 6.93 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.07379, allocations: 0 / 437.1 MB, free: 6.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/0.07382, allocations: 13.72 kB / 437.1 MB, free: 6.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.097e-05/0.07385, allocations: 310.8 kB / 437.4 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-06/0.07387, allocations: 0 / 437.4 MB, free: 6.598 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.783e-06/0.07388, allocations: 8 kB / 437.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.232e-05/0.0739, allocations: 8.859 kB / 437.4 MB, free: 6.578 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.07391, allocations: 8.062 kB / 437.4 MB, free: 6.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.394e-05/0.07396, allocations: 49.53 kB / 437.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.07397, allocations: 4 kB / 437.5 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.07398, allocations: 0 / 437.5 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.074, allocations: 3.938 kB / 437.5 MB, free: 6.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.384e-05/0.07403, allocations: 7.938 kB / 437.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.07404, allocations: 0 / 437.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.096e-05/0.07405, allocations: 0 / 437.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.07406, allocations: 0 / 437.5 MB, free: 6.5 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 3.431e-05/0.0741, allocations: 121.8 kB / 437.6 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-06/0.07411, allocations: 0 / 437.6 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.163e-05/0.07413, allocations: 15 kB / 437.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.07413, allocations: 0 / 437.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.07414, allocations: 0 / 437.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.07415, allocations: 0 / 437.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.281e-05/0.07423, allocations: 153.7 kB / 437.8 MB, free: 6.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.07424, allocations: 0 / 437.8 MB, free: 6.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.122e-05/0.07432, allocations: 3.984 kB / 437.8 MB, free: 6.156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.07433, allocations: 3.984 kB / 437.8 MB, free: 6.152 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.07434, allocations: 7.938 kB / 437.8 MB, free: 6.145 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.07434, allocations: 0 / 437.8 MB, free: 6.145 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.07435, allocations: 4 kB / 437.8 MB, free: 6.141 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.63e-05/0.07442, allocations: 65.06 kB / 437.9 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.208e-05/0.07444, allocations: 77.11 kB / 437.9 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-06/0.07445, allocations: 3.938 kB / 437.9 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.649e-05/0.07447, allocations: 0 / 437.9 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.07451, allocations: 4.094 kB / 437.9 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.07453, allocations: 0 / 437.9 MB, free: 5.957 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.608e-06/0.07454, allocations: 75.28 kB / 438 MB, free: 5.883 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.07454, allocations: 0 / 438 MB, free: 5.883 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00018/0.07473, allocations: 4.031 kB / 438 MB, free: 5.879 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 4.769e-05/0.07478, allocations: 99.19 kB / 438.1 MB, free: 5.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 6.114e-05/0.07485, allocations: 7.984 kB / 438.1 MB, free: 5.762 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.07486, allocations: 0 / 438.1 MB, free: 5.762 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.193e-06/0.07487, allocations: 15.94 kB / 438.1 MB, free: 5.746 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.075, allocations: 4 kB / 438.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001885/0.07519, allocations: 115.3 kB / 438.3 MB, free: 5.598 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.07532, allocations: 0.6729 MB / 438.9 MB, free: 4.898 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.476e-05/0.07534, allocations: 7.438 kB / 438.9 MB, free: 4.891 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.07534, allocations: 0 / 438.9 MB, free: 4.891 MB / 318.1 MB Notification: Performance of Templates: time 0.00132/0.07667, allocations: 379.8 kB / 439.3 MB, free: 4.52 MB / 318.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.makefile (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 & ./ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe 2>&1)