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.001202/0.001202, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001484/0.001484, allocations: 177.3 kB / 15.95 MB, free: 216 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.427/1.427, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03983/0.03983, allocations: 8.093 MB / 278.5 MB, free: 13.23 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.0004967/0.0004969, allocations: 16 kB / 338.2 MB, free: 27.07 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08947/0.08997, allocations: 49.28 MB / 387.5 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.0005444/0.09058, allocations: 108.8 kB / 387.6 MB, free: 9.633 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001711/0.09078, allocations: 15.98 kB / 387.6 MB, free: 9.617 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.902e-05/0.09081, allocations: 0 / 387.6 MB, free: 9.617 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.637e-05/0.09084, allocations: 0 / 387.6 MB, free: 9.617 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.811e-06/0.09085, allocations: 0 / 387.6 MB, free: 9.617 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.09101, allocations: 11.92 kB / 387.6 MB, free: 9.605 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.271e-05/0.09106, allocations: 4 kB / 387.6 MB, free: 9.602 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.269e-05/0.09112, allocations: 0 / 387.6 MB, free: 9.602 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.969e-05/0.09115, allocations: 0 / 387.6 MB, free: 9.602 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.544e-05/0.0912, allocations: 3.984 kB / 387.6 MB, free: 9.598 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.09122, allocations: 0 / 387.6 MB, free: 9.598 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.006e-06/0.09123, allocations: 0 / 387.6 MB, free: 9.598 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.09125, allocations: 4 kB / 387.6 MB, free: 9.594 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.09129, allocations: 29.64 kB / 387.7 MB, free: 9.559 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 3.43e-05/0.09133, allocations: 0 / 387.7 MB, free: 9.559 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.09134, allocations: 0 / 387.7 MB, free: 9.559 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.09135, allocations: 7.938 kB / 387.7 MB, free: 9.551 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.09136, allocations: 0 / 387.7 MB, free: 9.551 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.0003311/0.09169, allocations: 315.4 kB / 388 MB, free: 9.195 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.09174, allocations: 8.031 kB / 388 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.09178, allocations: 0 / 388 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.686e-05/0.09188, allocations: 159.1 kB / 388.2 MB, free: 8.992 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.09191, allocations: 0 / 388.2 MB, free: 8.992 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.09194, allocations: 4 kB / 388.2 MB, free: 8.988 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.09205, allocations: 41.59 kB / 388.2 MB, free: 8.941 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.09207, allocations: 0 / 388.2 MB, free: 8.941 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.09208, allocations: 0 / 388.2 MB, free: 8.941 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.0921, allocations: 0 / 388.2 MB, free: 8.941 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.481e-05/0.09213, allocations: 7.984 kB / 388.2 MB, free: 8.934 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.09248, allocations: 149.7 kB / 388.4 MB, free: 8.738 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.004e-05/0.09253, allocations: 14.58 kB / 388.4 MB, free: 8.715 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/0.09255, allocations: 0 / 388.4 MB, free: 8.715 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.09258, allocations: 42.64 kB / 388.4 MB, free: 8.664 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/0.09259, allocations: 0 / 388.4 MB, free: 8.664 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.000143/0.09273, allocations: 41.59 kB / 388.4 MB, free: 8.617 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.09279, allocations: 51.41 kB / 388.5 MB, free: 8.555 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.476e-05/0.09284, allocations: 89.86 kB / 388.6 MB, free: 8.457 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.09286, allocations: 25.7 kB / 388.6 MB, free: 8.426 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.0929, allocations: 80.14 kB / 388.7 MB, free: 8.344 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.09294, allocations: 7.906 kB / 388.7 MB, free: 8.336 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-06/0.09295, allocations: 4.125 kB / 388.7 MB, free: 8.332 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.09307, allocations: 314.8 kB / 389 MB, free: 8.016 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.09309, allocations: 0 / 389 MB, free: 8.016 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.133e-05/0.0931, allocations: 8 kB / 389 MB, free: 8.008 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.18e-05/0.09313, allocations: 0 / 389 MB, free: 8.008 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.09314, allocations: 0 / 389 MB, free: 8.008 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.453e-05/0.09321, allocations: 37.64 kB / 389.1 MB, free: 7.965 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.09323, allocations: 8 kB / 389.1 MB, free: 7.957 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.09324, allocations: 96 / 389.1 MB, free: 7.957 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.09327, allocations: 7.953 kB / 389.1 MB, free: 7.949 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.139e-05/0.09331, allocations: 0 / 389.1 MB, free: 7.949 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.09332, allocations: 7.984 kB / 389.1 MB, free: 7.941 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.819e-05/0.09335, allocations: 7.938 kB / 389.1 MB, free: 7.934 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.09336, allocations: 0 / 389.1 MB, free: 7.934 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 8.401e-05/0.09345, allocations: 105.8 kB / 389.2 MB, free: 7.82 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.168e-06/0.09347, allocations: 3.938 kB / 389.2 MB, free: 7.816 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.239e-05/0.09349, allocations: 3.125 kB / 389.2 MB, free: 7.809 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.09351, allocations: 4 kB / 389.2 MB, free: 7.805 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.09352, allocations: 7.953 kB / 389.2 MB, free: 7.797 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.09354, allocations: 3.984 kB / 389.2 MB, free: 7.793 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.09369, allocations: 149.7 kB / 389.4 MB, free: 7.598 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.0937, allocations: 0 / 389.4 MB, free: 7.598 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.85e-05/0.09374, allocations: 4 kB / 389.4 MB, free: 7.594 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.09375, allocations: 0 / 389.4 MB, free: 7.594 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.09376, allocations: 0 / 389.4 MB, free: 7.594 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.09377, allocations: 0 / 389.4 MB, free: 7.594 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.09378, allocations: 3.938 kB / 389.4 MB, free: 7.59 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.0939, allocations: 69.08 kB / 389.4 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.09395, allocations: 77.11 kB / 389.5 MB, free: 7.41 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.09397, allocations: 0 / 389.5 MB, free: 7.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.403e-05/0.09399, allocations: 4.031 kB / 389.5 MB, free: 7.406 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.09401, allocations: 4 kB / 389.5 MB, free: 7.402 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.09402, allocations: 0 / 389.5 MB, free: 7.402 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.936e-05/0.09405, allocations: 79.23 kB / 389.6 MB, free: 7.324 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09406, allocations: 0 / 389.6 MB, free: 7.324 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001998/0.09426, allocations: 4.094 kB / 389.6 MB, free: 7.32 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.807e-05/0.09436, allocations: 99.23 kB / 389.7 MB, free: 7.215 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.995e-05/0.09443, allocations: 7.938 kB / 389.7 MB, free: 7.207 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.09446, allocations: 0 / 389.7 MB, free: 7.207 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.033e-05/0.09447, allocations: 4 kB / 389.7 MB, free: 7.203 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.875e-05/0.09457, allocations: 0 / 389.7 MB, free: 7.203 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.09482, allocations: 114.7 kB / 389.8 MB, free: 7.062 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.09505, allocations: 0.6731 MB / 390.5 MB, free: 6.363 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.863e-05/0.09508, allocations: 3.984 kB / 390.5 MB, free: 6.359 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.15e-05/0.0951, allocations: 11.44 kB / 390.5 MB, free: 6.348 MB / 286.1 MB Notification: Performance of SimCode: time 3.51e-07/0.09511, allocations: 0 / 390.5 MB, free: 6.348 MB / 286.1 MB Notification: Performance of Templates: time 0.001735/0.09685, allocations: 192.1 kB / 390.7 MB, free: 6.16 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: