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.0009555/0.0009554, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001155/0.001155, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.0888/0.0888, allocations: 8.106 MB / 278.5 MB, free: 13.21 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.0005341/0.0005341, allocations: 16 kB / 338.3 MB, free: 27.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08681/0.08736, allocations: 49.28 MB / 387.5 MB, free: 9.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.0004795/0.08789, allocations: 112.9 kB / 387.7 MB, free: 9.582 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001579/0.08806, allocations: 23.91 kB / 387.7 MB, free: 9.559 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.025e-05/0.08808, allocations: 0 / 387.7 MB, free: 9.559 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.523e-05/0.08811, allocations: 0 / 387.7 MB, free: 9.559 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.743e-06/0.08812, allocations: 0 / 387.7 MB, free: 9.559 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001334/0.08826, allocations: 4 kB / 387.7 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.544e-05/0.08831, allocations: 0 / 387.7 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.101e-05/0.08838, allocations: 0 / 387.7 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.659e-05/0.0884, allocations: 4 kB / 387.7 MB, free: 9.551 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.419e-05/0.08845, allocations: 0 / 387.7 MB, free: 9.551 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.08847, allocations: 0 / 387.7 MB, free: 9.551 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.769e-06/0.08849, allocations: 4 kB / 387.7 MB, free: 9.547 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.957e-06/0.0885, allocations: 3.938 kB / 387.7 MB, free: 9.543 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.08853, allocations: 25.7 kB / 387.7 MB, free: 9.512 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 3.054e-05/0.08857, allocations: 3.984 kB / 387.7 MB, free: 9.508 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.08858, allocations: 0 / 387.7 MB, free: 9.508 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.08858, allocations: 0 / 387.7 MB, free: 9.508 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.0886, allocations: 4 kB / 387.7 MB, free: 9.504 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.000449/0.08905, allocations: 311.4 kB / 388 MB, free: 9.152 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.0891, allocations: 8.094 kB / 388 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.08913, allocations: 0 / 388 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.084e-05/0.08921, allocations: 167.1 kB / 388.2 MB, free: 8.941 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.08923, allocations: 0 / 388.2 MB, free: 8.941 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.08926, allocations: 3.938 kB / 388.2 MB, free: 8.938 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.08937, allocations: 33.64 kB / 388.2 MB, free: 8.898 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.08938, allocations: 0 / 388.2 MB, free: 8.898 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.0894, allocations: 4 kB / 388.2 MB, free: 8.895 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.08941, allocations: 0 / 388.2 MB, free: 8.895 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.694e-05/0.08943, allocations: 3.984 kB / 388.2 MB, free: 8.891 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.0897, allocations: 157.7 kB / 388.4 MB, free: 8.688 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.941e-05/0.0898, allocations: 20.27 kB / 388.4 MB, free: 8.66 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/0.08983, allocations: 8.797 kB / 388.4 MB, free: 8.648 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.625e-06/0.08984, allocations: 0 / 388.4 MB, free: 8.648 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.08987, allocations: 34.52 kB / 388.5 MB, free: 8.605 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.08988, allocations: 64 / 388.5 MB, free: 8.605 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001225/0.09001, allocations: 37.7 kB / 388.5 MB, free: 8.562 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.09006, allocations: 63.45 kB / 388.6 MB, free: 8.488 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.0902, allocations: 89.86 kB / 388.6 MB, free: 8.391 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.09022, allocations: 25.7 kB / 388.7 MB, free: 8.359 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.831e-05/0.09026, allocations: 80.14 kB / 388.8 MB, free: 8.277 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.09029, allocations: 3.906 kB / 388.8 MB, free: 8.273 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.09029, allocations: 0 / 388.8 MB, free: 8.273 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.09051, allocations: 314.8 kB / 389.1 MB, free: 7.957 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.533e-05/0.09053, allocations: 7.938 kB / 389.1 MB, free: 7.949 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-06/0.09054, allocations: 8 kB / 389.1 MB, free: 7.941 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.656e-05/0.09057, allocations: 0 / 389.1 MB, free: 7.941 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.09057, allocations: 0 / 389.1 MB, free: 7.941 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.504e-05/0.09063, allocations: 41.69 kB / 389.1 MB, free: 7.895 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.09065, allocations: 7.938 kB / 389.1 MB, free: 7.887 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.09066, allocations: 0 / 389.1 MB, free: 7.887 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.09067, allocations: 7.953 kB / 389.1 MB, free: 7.879 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.461e-05/0.0907, allocations: 0 / 389.1 MB, free: 7.879 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.09071, allocations: 0 / 389.1 MB, free: 7.879 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.148e-05/0.09073, allocations: 0 / 389.1 MB, free: 7.879 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.09075, allocations: 8.094 kB / 389.1 MB, free: 7.871 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.88e-05/0.09082, allocations: 105.8 kB / 389.2 MB, free: 7.758 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-06/0.09083, allocations: 0 / 389.2 MB, free: 7.758 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.09085, allocations: 3.125 kB / 389.3 MB, free: 7.75 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.09086, allocations: 7.891 kB / 389.3 MB, free: 7.742 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.09087, allocations: 3.984 kB / 389.3 MB, free: 7.738 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.09088, allocations: 4 kB / 389.3 MB, free: 7.734 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.09107, allocations: 149.7 kB / 389.4 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.09108, allocations: 0 / 389.4 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.175e-05/0.09111, allocations: 4 kB / 389.4 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.09111, allocations: 0 / 389.4 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.09113, allocations: 7.984 kB / 389.4 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.09114, allocations: 4 kB / 389.4 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.09114, allocations: 3.953 kB / 389.4 MB, free: 7.52 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.09126, allocations: 57.14 kB / 389.5 MB, free: 7.445 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.0913, allocations: 81.09 kB / 389.6 MB, free: 7.348 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.09132, allocations: 96 / 389.6 MB, free: 7.348 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.091e-05/0.09134, allocations: 4 kB / 389.6 MB, free: 7.344 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.09136, allocations: 32 / 389.6 MB, free: 7.344 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.09137, allocations: 7.953 kB / 389.6 MB, free: 7.336 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.662e-05/0.0914, allocations: 75.28 kB / 389.7 MB, free: 7.262 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.0914, allocations: 3.938 kB / 389.7 MB, free: 7.258 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001915/0.0916, allocations: 0 / 389.7 MB, free: 7.258 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 (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 8.038e-05/0.09168, allocations: 95.25 kB / 389.7 MB, free: 7.156 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 5.98e-05/0.09175, allocations: 11.94 kB / 389.8 MB, free: 7.145 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.09176, allocations: 0 / 389.8 MB, free: 7.145 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.216e-06/0.09177, allocations: 4 kB / 389.8 MB, free: 7.141 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.09191, allocations: 0 / 389.8 MB, free: 7.141 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002356/0.09215, allocations: 108.5 kB / 389.9 MB, free: 7.004 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.09238, allocations: 0.677 MB / 390.5 MB, free: 6.301 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.527e-05/0.0924, allocations: 0 / 390.5 MB, free: 6.301 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.09243, allocations: 7.562 kB / 390.6 MB, free: 6.293 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09243, allocations: 4 kB / 390.6 MB, free: 6.289 MB / 286.1 MB Notification: Performance of Templates: time 0.00192/0.09436, allocations: 192 kB / 390.7 MB, free: 6.105 MB / 286.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: