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.001016/0.001016, allocations: 108.3 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.001008/0.001008, allocations: 192.3 kB / 17.35 MB, free: 5.742 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.231/1.231, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001989/0.001989, allocations: 288.8 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.892/0.892, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 91.86 kB / 0.6821 GB, free: 7.02 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3679, allocations: 86.99 MB / 0.767 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001575/0.3695, allocations: 0.5869 MB / 0.7676 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 3.599e-05/0.3696, allocations: 7.938 kB / 0.7676 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.584e-05/0.3696, allocations: 0 / 0.7676 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.024e-05/0.3696, allocations: 0 / 0.7676 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.96e-06/0.3696, allocations: 0 / 0.7676 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.532e-05/0.3697, allocations: 3.938 kB / 0.7676 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.844e-05/0.3697, allocations: 4 kB / 0.7676 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.3698, allocations: 3.984 kB / 0.7676 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.322e-05/0.3698, allocations: 4 kB / 0.7676 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.435e-05/0.3698, allocations: 0 / 0.7676 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.626e-06/0.3698, allocations: 0 / 0.7676 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.445e-06/0.3698, allocations: 0 / 0.7676 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.287e-06/0.3698, allocations: 0 / 0.7676 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.978e-05/0.3699, allocations: 3.938 kB / 0.7676 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 4.456e-05/0.3699, allocations: 7.984 kB / 0.7676 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3699, allocations: 0 / 0.7676 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3699, allocations: 0 / 0.7676 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.3699, allocations: 0 / 0.7676 GB, free: 3.332 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.0002407/0.3702, allocations: 315.6 kB / 0.7679 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.3702, allocations: 8.031 kB / 0.7679 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.106e-05/0.3702, allocations: 4.938 kB / 0.7679 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.07e-05/0.3703, allocations: 164.4 kB / 0.7681 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.3703, allocations: 384 / 0.7681 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-06/0.3703, allocations: 384 / 0.7681 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.06e-05/0.3704, allocations: 34.2 kB / 0.7681 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.3704, allocations: 192 / 0.7681 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.3704, allocations: 3.938 kB / 0.7681 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3705, allocations: 0 / 0.7681 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.459e-05/0.3705, allocations: 7.984 kB / 0.7681 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000117/0.3706, allocations: 149.7 kB / 0.7683 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 2.771e-05/0.3706, allocations: 14.58 kB / 0.7683 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.995e-05/0.3707, allocations: 12.91 kB / 0.7683 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.3707, allocations: 0 / 0.7683 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.3707, allocations: 34.5 kB / 0.7683 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.3707, allocations: 4 kB / 0.7684 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001003/0.3708, allocations: 37.64 kB / 0.7684 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.3708, allocations: 51.41 kB / 0.7684 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.897e-05/0.3709, allocations: 89.86 kB / 0.7685 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.3709, allocations: 25.7 kB / 0.7685 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.06e-05/0.3709, allocations: 84.14 kB / 0.7686 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.371, allocations: 7.562 kB / 0.7686 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/0.371, allocations: 9.719 kB / 0.7686 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.227e-05/0.3711, allocations: 323 kB / 0.769 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.3711, allocations: 4 kB / 0.769 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-06/0.3711, allocations: 0 / 0.769 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.237e-05/0.3711, allocations: 16.73 kB / 0.769 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3711, allocations: 0 / 0.769 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.906e-05/0.3712, allocations: 33.64 kB / 0.769 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.3712, allocations: 4 kB / 0.769 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.3712, allocations: 0 / 0.769 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.3712, allocations: 8.031 kB / 0.769 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.747e-05/0.3713, allocations: 4 kB / 0.769 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.3713, allocations: 0 / 0.769 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.716e-06/0.3713, allocations: 0 / 0.769 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.3713, 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 5.96e-05/0.3714, allocations: 117.8 kB / 0.7691 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-06/0.3714, allocations: 0 / 0.7691 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.077e-05/0.3714, allocations: 3.125 kB / 0.7691 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3714, allocations: 3.938 kB / 0.7691 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.3714, allocations: 4 kB / 0.7691 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.3715, allocations: 77.11 kB / 0.7692 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.464e-06/0.3715, allocations: 3.938 kB / 0.7692 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.271e-06/0.3715, allocations: 0 / 0.7692 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.719e-06/0.3715, allocations: 4 kB / 0.7692 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.916e-05/0.3716, allocations: 109 kB / 0.7693 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000102/0.3717, allocations: 206.8 kB / 0.7695 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.399e-05/0.3717, allocations: 3.938 kB / 0.7695 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.184e-05/0.3717, allocations: 75.28 kB / 0.7696 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of Backend: time 2e-07/0.3717, allocations: 0 / 0.7696 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002915/0.372, allocations: 82.39 kB / 0.7697 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0002786/0.3723, allocations: 0.5254 MB / 0.7702 GB, free: 388 kB / 0.5294 GB Notification: Performance of Templates: time 0.001594/0.3739, allocations: 188.7 kB / 0.7704 GB, free: 200 kB / 0.5294 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)