Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001189, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00121/0.00121, allocations: 190.7 kB / 16.25 MB, free: 6.629 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.351/1.351, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.807/2.807, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 68.66 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3128, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001737/0.3145, allocations: 0.6426 MB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006/0.3152, allocations: 337 kB / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.231e-05/0.3152, allocations: 0 / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.191e-05/0.3152, allocations: 0 / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.468e-06/0.3152, allocations: 4 kB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.3156, allocations: 95.7 kB / 1.069 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.443e-05/0.3157, allocations: 4 kB / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.3157, allocations: 0 / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.276e-05/0.3157, allocations: 0 / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.74e-05/0.3158, allocations: 0 / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.3158, allocations: 0 / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003692/0.3161, allocations: 279.6 kB / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.3162, allocations: 4 kB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.537e-05/0.3162, allocations: 0 / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.3163, allocations: 95.78 kB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3164, allocations: 4 kB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3164, allocations: 0 / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.3164, allocations: 0 / 1.069 GB, free: 9.375 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002819/0.3167, allocations: 331.6 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.3167, allocations: 8.031 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.3168, allocations: 0.9375 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.356e-05/0.3168, allocations: 160.4 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.3169, allocations: 8.375 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.061e-06/0.3169, allocations: 384 / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.857e-05/0.317, allocations: 26.27 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-06/0.317, allocations: 192 / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.317, allocations: 3.938 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.317, allocations: 3.984 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.388e-05/0.317, allocations: 7.938 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001313/0.3172, allocations: 149.7 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.355e-05/0.3172, allocations: 22.61 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/0.3172, allocations: 4.859 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004826/0.3177, allocations: 425.6 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.3177, allocations: 30.56 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.3177, allocations: 4 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001441/0.3179, allocations: 41.56 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.3179, allocations: 55.41 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.592e-05/0.318, allocations: 89.86 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.318, allocations: 25.7 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.574e-05/0.318, allocations: 84.14 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.318, allocations: 3.938 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.3181, allocations: 9.719 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.832e-05/0.3182, allocations: 319 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.098e-05/0.3182, allocations: 0 / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-06/0.3182, allocations: 3.938 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.552e-05/0.3182, allocations: 12.84 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3182, allocations: 0 / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.07e-05/0.3183, allocations: 37.64 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3183, allocations: 8 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3183, allocations: 0 / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3184, allocations: 8.031 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.681e-05/0.3184, allocations: 0 / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.3184, allocations: 0 / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.099e-05/0.3184, allocations: 4 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.3184, allocations: 0 / 1.071 GB, free: 7.207 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 (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.668e-05/0.3185, allocations: 109.8 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.3185, allocations: 3.906 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.3186, allocations: 49.05 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3186, allocations: 3.938 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3186, allocations: 0 / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3186, allocations: 0 / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.978e-05/0.3187, allocations: 145.7 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3187, allocations: 0 / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.401e-05/0.3188, allocations: 8 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.3188, allocations: 0 / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.3188, allocations: 3.938 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.3188, allocations: 0 / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3188, allocations: 0 / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.187e-05/0.3189, allocations: 65.16 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.653e-05/0.3189, allocations: 81.05 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.3189, allocations: 3.938 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-06/0.3189, allocations: 0 / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.3189, allocations: 0 / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.3189, allocations: 4 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.821e-05/0.319, allocations: 75.28 kB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.323e-06/0.319, allocations: 4.031 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001891/0.3192, allocations: 15.94 kB / 1.071 GB, free: 6.543 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 (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.0001583/0.3193, allocations: 111.2 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.706e-05/0.3194, allocations: 4 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3194, allocations: 3.938 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.922e-06/0.3194, allocations: 0 / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.3196, allocations: 12.78 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001583/0.3197, allocations: 89.03 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.3199, allocations: 0.669 MB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.791e-05/0.32, allocations: 4 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.213e-05/0.32, allocations: 7.438 kB / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.32, allocations: 0 / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of Templates: time 0.002278/0.3223, allocations: 460.4 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)