Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001826/0.001826, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.583/1.583, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.907/2.907, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 70.36 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3154, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003466/0.3189, allocations: 1.512 MB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009655/0.3199, allocations: 406.8 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.3199, allocations: 0 / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.578e-05/0.32, allocations: 0 / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.95e-05/0.3201, allocations: 7.922 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.3205, allocations: 83.84 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.039e-05/0.3206, allocations: 19.94 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.3207, allocations: 15.91 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.656e-05/0.3207, allocations: 8 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.105e-05/0.3208, allocations: 11.92 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.3208, allocations: 0 / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003999/0.3212, allocations: 275.7 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.3212, allocations: 3.984 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.3213, allocations: 15.94 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.3215, allocations: 107.8 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3215, allocations: 0 / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3215, allocations: 0 / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.3215, allocations: 0 / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005235/0.322, allocations: 359.7 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3221, allocations: 8.031 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.011e-05/0.3222, allocations: 8.875 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.3223, allocations: 168.3 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3223, allocations: 4.375 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.3223, allocations: 4.375 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.3225, allocations: 50.17 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.3225, allocations: 4.188 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3226, allocations: 3.938 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.954e-06/0.3226, allocations: 0 / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.3227, allocations: 39.91 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003371/0.3231, allocations: 249 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.3232, allocations: 38.5 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.167e-05/0.3233, allocations: 24.91 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007705/0.3241, allocations: 465.4 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.3241, allocations: 34.56 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.3242, allocations: 0 / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004061/0.3246, allocations: 85.64 kB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.3246, allocations: 51.41 kB / 1.071 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.878e-05/0.3247, allocations: 109.8 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.3247, allocations: 25.7 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.3248, allocations: 84.14 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.3248, allocations: 11.84 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.3248, allocations: 13.72 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.325, allocations: 323 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.844e-05/0.325, allocations: 15.98 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.313e-05/0.3251, allocations: 15.92 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.3253, allocations: 40.81 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3253, allocations: 0 / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002248/0.3255, allocations: 77.58 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.3256, allocations: 4 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.3256, allocations: 4 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3256, allocations: 3.984 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.689e-05/0.3257, allocations: 4 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3257, allocations: 0 / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.297e-05/0.3258, allocations: 7.984 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.3258, allocations: 8.031 kB / 1.072 GB, free: 5.809 MB / 0.8262 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 (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 7.497e-05/0.3259, allocations: 113.7 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.3259, allocations: 0 / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.3262, allocations: 73.19 kB / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.3262, allocations: 3.984 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3262, allocations: 0 / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3262, allocations: 4 kB / 1.072 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.3264, allocations: 161.6 kB / 1.072 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3264, allocations: 7.875 kB / 1.072 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.39e-05/0.3265, allocations: 11.98 kB / 1.072 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3265, allocations: 0 / 1.072 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.3265, allocations: 0 / 1.072 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3265, allocations: 0 / 1.072 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3265, allocations: 0 / 1.072 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.3268, allocations: 171.4 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.004e-05/0.3269, allocations: 85.02 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.3269, allocations: 0 / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.237e-05/0.327, allocations: 11.98 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.327, allocations: 0 / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.327, allocations: 256 / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.554e-05/0.3271, allocations: 87.27 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3271, allocations: 0 / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002436/0.3273, allocations: 24.03 kB / 1.073 GB, free: 4.965 MB / 0.8262 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 (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 Backend phase and start with SimCode phase: time 0.0001671/0.3275, allocations: 115.2 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.3277, allocations: 31.97 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3277, allocations: 3.938 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.166e-05/0.3278, allocations: 19.98 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.3282, allocations: 13.47 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002705/0.3284, allocations: 111.2 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.3287, allocations: 0.677 MB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.51e-05/0.3287, allocations: 4 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.156e-05/0.3288, allocations: 7.438 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.3288, allocations: 0 / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of Templates: time 0.002887/0.3317, allocations: 0.6539 MB / 1.074 GB, free: 3.277 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)