Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") translateModel(BuildingSystems.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001001, allocations: 104.9 kB / 16.41 MB, free: 6.465 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.0009792/0.0009793, allocations: 189.8 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002034/0.002034, allocations: 292.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8963/0.8963, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 99.86 kB / 0.6821 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4017, allocations: 86.96 MB / 0.767 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.00181/0.4035, allocations: 0.6023 MB / 0.7676 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 4.055e-05/0.4036, allocations: 4 kB / 0.7676 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.839e-05/0.4036, allocations: 0 / 0.7676 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.004e-05/0.4036, allocations: 0 / 0.7676 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.245e-06/0.4037, allocations: 3.938 kB / 0.7676 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.321e-05/0.4037, allocations: 0 / 0.7676 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.881e-05/0.4038, allocations: 4 kB / 0.7676 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.245e-05/0.4038, allocations: 0 / 0.7676 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.537e-05/0.4038, allocations: 0 / 0.7676 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.696e-05/0.4039, allocations: 0 / 0.7676 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.4039, allocations: 4 kB / 0.7676 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.778e-06/0.4039, allocations: 0 / 0.7676 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.4039, allocations: 0 / 0.7676 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.4039, allocations: 3.938 kB / 0.7676 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 4.986e-05/0.404, allocations: 7.984 kB / 0.7676 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.404, allocations: 3.938 kB / 0.7676 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.404, allocations: 0 / 0.7676 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.404, allocations: 0 / 0.7676 GB, free: 3.328 MB / 0.5294 GB 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.0002534/0.4043, allocations: 311.6 kB / 0.7679 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.4043, allocations: 8.031 kB / 0.7679 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.41e-05/0.4043, allocations: 4.938 kB / 0.7679 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.753e-05/0.4044, allocations: 164.4 kB / 0.7681 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-06/0.4044, allocations: 384 / 0.7681 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.4044, allocations: 384 / 0.7681 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.993e-05/0.4045, allocations: 30.27 kB / 0.7681 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.4045, allocations: 192 / 0.7681 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.4045, allocations: 3.938 kB / 0.7681 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4046, allocations: 0 / 0.7681 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.572e-05/0.4046, allocations: 3.938 kB / 0.7681 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001173/0.4047, allocations: 153.7 kB / 0.7683 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.267e-05/0.4047, allocations: 14.58 kB / 0.7683 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.168e-05/0.4048, allocations: 12.94 kB / 0.7683 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.46e-06/0.4048, allocations: 0 / 0.7683 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.4048, allocations: 30.56 kB / 0.7683 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.4048, allocations: 0 / 0.7683 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001125/0.4049, allocations: 45.58 kB / 0.7684 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.405, allocations: 55.41 kB / 0.7684 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.293e-05/0.405, allocations: 89.86 kB / 0.7685 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.405, allocations: 25.7 kB / 0.7685 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.249e-05/0.405, allocations: 84.12 kB / 0.7686 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.4051, allocations: 7.562 kB / 0.7686 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.4051, allocations: 9.719 kB / 0.7686 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.4052, allocations: 322.8 kB / 0.7689 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-06/0.4052, allocations: 4.125 kB / 0.7689 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.723e-06/0.4052, allocations: 0 / 0.7689 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.518e-05/0.4053, allocations: 12.8 kB / 0.769 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4053, allocations: 3.938 kB / 0.769 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.116e-05/0.4053, allocations: 29.7 kB / 0.769 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.4053, allocations: 4 kB / 0.769 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.4053, allocations: 0 / 0.769 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.4054, allocations: 7.938 kB / 0.769 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.201e-05/0.4054, allocations: 96 / 0.769 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4054, allocations: 8 kB / 0.769 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.328e-06/0.4055, allocations: 0 / 0.769 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.4055, allocations: 0 / 0.769 GB, free: 1.688 MB / 0.5294 GB 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 (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 prepare postOptimizeDAE: time 6.279e-05/0.4055, allocations: 120.2 kB / 0.7691 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-06/0.4055, allocations: 0 / 0.7691 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.461e-05/0.4056, allocations: 11 kB / 0.7691 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.4056, allocations: 0 / 0.7691 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4056, allocations: 0 / 0.7691 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.4056, allocations: 0 / 0.7691 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.522e-05/0.4057, allocations: 149.7 kB / 0.7693 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4057, allocations: 0 / 0.7693 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.378e-05/0.4057, allocations: 3.984 kB / 0.7693 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4057, allocations: 0 / 0.7693 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.4057, allocations: 3.938 kB / 0.7693 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4057, allocations: 3.938 kB / 0.7693 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4057, allocations: 0 / 0.7693 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.875e-05/0.4058, allocations: 57.14 kB / 0.7693 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.804e-05/0.4058, allocations: 81.14 kB / 0.7694 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.4058, allocations: 7.922 kB / 0.7694 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.702e-06/0.4058, allocations: 0 / 0.7694 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.4059, allocations: 7.984 kB / 0.7694 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.4059, allocations: 0 / 0.7694 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.303e-05/0.4059, allocations: 75.28 kB / 0.7695 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.4059, allocations: 0 / 0.7695 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001921/0.4061, allocations: 0 / 0.7695 GB, free: 1.086 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * 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 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 9.118e-05/0.4062, allocations: 99.25 kB / 0.7696 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.138e-05/0.4062, allocations: 11.94 kB / 0.7696 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4063, allocations: 0 / 0.7696 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.592e-06/0.4063, allocations: 0 / 0.7696 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.4064, allocations: 6.688 kB / 0.7696 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001877/0.4066, allocations: 106.8 kB / 0.7697 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.4068, allocations: 0.669 MB / 0.7704 GB, free: 132 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.713e-05/0.4068, allocations: 7.438 kB / 0.7704 GB, free: 124 kB / 0.5294 GB Notification: Performance of SimCode: time 2.31e-07/0.4068, allocations: 4.125 kB / 0.7704 GB, free: 120 kB / 0.5294 GB Notification: Performance of Templates: time 0.001367/0.4082, allocations: 327.8 kB / 0.7707 GB, free: 15.8 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1)