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.001526/0.001526, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 195.3 kB / 16.53 MB, free: 6.391 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.528/1.528, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.1328/0.1328, allocations: 8.112 MB / 277.9 MB, free: 13.17 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.001466/0.001466, allocations: 67.91 kB / 337.2 MB, free: 26.51 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09664/0.09812, allocations: 48.3 MB / 385.5 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001706/0.09988, allocations: 385.7 kB / 385.9 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001516/0.1, allocations: 15.91 kB / 385.9 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.027e-05/0.1001, allocations: 4 kB / 385.9 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.374e-05/0.1001, allocations: 0 / 385.9 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.4e-06/0.1001, allocations: 0 / 385.9 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.1003, allocations: 4 kB / 385.9 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.072e-05/0.1003, allocations: 0 / 385.9 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.214e-05/0.1004, allocations: 9.656 kB / 385.9 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.73e-05/0.1004, allocations: 4 kB / 385.9 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.984e-05/0.1005, allocations: 7.969 kB / 385.9 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.1005, allocations: 0 / 385.9 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.047e-06/0.1005, allocations: 0 / 385.9 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.1005, allocations: 0 / 385.9 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.1005, allocations: 11.88 kB / 385.9 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.425e-05/0.1006, allocations: 0 / 385.9 MB, free: 9.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1006, allocations: 3.938 kB / 385.9 MB, free: 9.727 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1006, allocations: 0 / 385.9 MB, free: 9.727 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1006, allocations: 0 / 385.9 MB, free: 9.727 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.0003092/0.1009, allocations: 311.6 kB / 386.2 MB, free: 9.371 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.101, allocations: 12.02 kB / 386.2 MB, free: 9.359 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/0.101, allocations: 4.938 kB / 386.2 MB, free: 9.355 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.1012, allocations: 160.4 kB / 386.4 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1012, allocations: 4.375 kB / 386.4 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.1012, allocations: 384 / 386.4 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.915e-05/0.1013, allocations: 26.27 kB / 386.4 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.1013, allocations: 192 / 386.4 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1013, allocations: 7.938 kB / 386.4 MB, free: 9.117 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1013, allocations: 0 / 386.4 MB, free: 9.117 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.866e-05/0.1014, allocations: 4 kB / 386.4 MB, free: 9.113 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.1016, allocations: 157.6 kB / 386.6 MB, free: 8.91 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.681e-05/0.1017, allocations: 18.61 kB / 386.6 MB, free: 8.883 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.529e-05/0.1017, allocations: 4.859 kB / 386.6 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.843e-06/0.1017, allocations: 0 / 386.6 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.1017, allocations: 30.56 kB / 386.6 MB, free: 8.836 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.1017, allocations: 4 kB / 386.6 MB, free: 8.832 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001254/0.1019, allocations: 49.62 kB / 386.7 MB, free: 8.777 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.1019, allocations: 51.41 kB / 386.7 MB, free: 8.715 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.14e-05/0.102, allocations: 89.86 kB / 386.8 MB, free: 8.617 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.102, allocations: 25.7 kB / 386.9 MB, free: 8.586 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.102, allocations: 80.14 kB / 386.9 MB, free: 8.504 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.1021, allocations: 3.906 kB / 386.9 MB, free: 8.5 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.1021, allocations: 13.72 kB / 387 MB, free: 8.48 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.1023, allocations: 323 kB / 387.3 MB, free: 8.156 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/0.1023, allocations: 7.938 kB / 387.3 MB, free: 8.148 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-06/0.1023, allocations: 0 / 387.3 MB, free: 8.148 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.181e-05/0.1024, allocations: 12.86 kB / 387.3 MB, free: 8.133 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1024, allocations: 0 / 387.3 MB, free: 8.133 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.311e-05/0.1024, allocations: 37.64 kB / 387.3 MB, free: 8.09 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1024, allocations: 4 kB / 387.3 MB, free: 8.086 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1024, allocations: 0 / 387.3 MB, free: 8.086 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1025, allocations: 8.031 kB / 387.3 MB, free: 8.078 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.651e-05/0.1025, allocations: 7.984 kB / 387.3 MB, free: 8.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1025, allocations: 0 / 387.3 MB, free: 8.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.091e-05/0.1025, allocations: 0 / 387.3 MB, free: 8.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.1025, allocations: 4 kB / 387.4 MB, free: 8.066 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 0.0001118/0.1027, allocations: 113.8 kB / 387.5 MB, free: 7.945 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-06/0.1027, allocations: 0 / 387.5 MB, free: 7.945 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.975e-05/0.1027, allocations: 11 kB / 387.5 MB, free: 7.93 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.1027, allocations: 0 / 387.5 MB, free: 7.93 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1027, allocations: 4 kB / 387.5 MB, free: 7.926 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1027, allocations: 4 kB / 387.5 MB, free: 7.922 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.1029, allocations: 149.7 kB / 387.6 MB, free: 7.727 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1029, allocations: 4 kB / 387.6 MB, free: 7.723 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.178e-05/0.1029, allocations: 0 / 387.6 MB, free: 7.723 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.1029, allocations: 0 / 387.6 MB, free: 7.723 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1029, allocations: 7.938 kB / 387.6 MB, free: 7.715 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1029, allocations: 0 / 387.6 MB, free: 7.715 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.1029, allocations: 3.984 kB / 387.6 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.1031, allocations: 69.06 kB / 387.7 MB, free: 7.625 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.533e-05/0.1031, allocations: 77.11 kB / 387.8 MB, free: 7.531 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.1031, allocations: 3.938 kB / 387.8 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.069e-05/0.1031, allocations: 0 / 387.8 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.1032, allocations: 0 / 387.8 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.1032, allocations: 8.016 kB / 387.8 MB, free: 7.52 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.804e-05/0.1032, allocations: 75.28 kB / 387.9 MB, free: 7.445 MB / 286.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1032, allocations: 0 / 387.9 MB, free: 7.445 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001741/0.1034, allocations: 4.094 kB / 387.9 MB, free: 7.441 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.0001007/0.1035, allocations: 95.25 kB / 388 MB, free: 7.34 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.9e-05/0.1036, allocations: 8 kB / 388 MB, free: 7.332 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1036, allocations: 7.875 kB / 388 MB, free: 7.324 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.165e-06/0.1036, allocations: 4 kB / 388 MB, free: 7.32 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.1038, allocations: 2.656 kB / 388 MB, free: 7.32 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.1041, allocations: 110.1 kB / 388.1 MB, free: 7.188 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.1044, allocations: 0.6766 MB / 388.8 MB, free: 6.484 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.049e-05/0.1045, allocations: 0 / 388.8 MB, free: 6.484 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.809e-05/0.1045, allocations: 7.438 kB / 388.8 MB, free: 6.477 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1045, allocations: 4 kB / 388.8 MB, free: 6.473 MB / 286.1 MB Notification: Performance of Templates: time 0.002516/0.107, allocations: 200.6 kB / 389 MB, free: 6.277 MB / 286.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)