Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001087/0.001088, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001156/0.001156, allocations: 168.7 kB / 15.95 MB, free: 204 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.765/1.765, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.56/1.56, allocations: 252 MB / 0.5102 GB, free: 4.758 MB / 414.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: Performance of FrontEnd - loaded program: time 0.0009759/0.000976, allocations: 23.44 kB / 0.6243 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6266/0.6276, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002056/0.6298, allocations: 1.153 MB / 0.7293 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007875/0.6306, allocations: 356 kB / 0.7296 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.359e-05/0.6306, allocations: 0 / 0.7296 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.6306, allocations: 0 / 0.7296 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.848e-05/0.6307, allocations: 3.938 kB / 0.7296 GB, free: 9.879 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.6311, allocations: 79.84 kB / 0.7297 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.76e-05/0.6312, allocations: 23.86 kB / 0.7297 GB, free: 9.777 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.916e-05/0.6313, allocations: 4 kB / 0.7297 GB, free: 9.773 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.95e-05/0.6314, allocations: 11.94 kB / 0.7297 GB, free: 9.762 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.895e-05/0.6314, allocations: 11.92 kB / 0.7297 GB, free: 9.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.6314, allocations: 0 / 0.7297 GB, free: 9.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004384/0.6319, allocations: 263.7 kB / 0.73 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.6319, allocations: 4 kB / 0.73 GB, free: 9.488 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.6319, allocations: 33.64 kB / 0.73 GB, free: 9.449 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.6321, allocations: 75.86 kB / 0.7301 GB, free: 9.375 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.6321, allocations: 0 / 0.7301 GB, free: 9.375 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6321, allocations: 0 / 0.7301 GB, free: 9.375 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.6321, allocations: 0 / 0.7301 GB, free: 9.375 MB / 0.545 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.0006114/0.6328, allocations: 361.3 kB / 0.7304 GB, free: 8.977 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.6328, allocations: 12.03 kB / 0.7304 GB, free: 8.965 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.261e-05/0.6329, allocations: 7.906 kB / 0.7304 GB, free: 8.957 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.6331, allocations: 171 kB / 0.7306 GB, free: 8.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.6331, allocations: 0 / 0.7306 GB, free: 8.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.6331, allocations: 3.984 kB / 0.7306 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.6333, allocations: 57.67 kB / 0.7307 GB, free: 8.684 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.6333, allocations: 0 / 0.7307 GB, free: 8.684 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.6333, allocations: 4 kB / 0.7307 GB, free: 8.68 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.6334, allocations: 0 / 0.7307 GB, free: 8.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.6335, allocations: 51.89 kB / 0.7307 GB, free: 8.629 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.6339, allocations: 252.9 kB / 0.731 GB, free: 8.332 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.6341, allocations: 46.56 kB / 0.731 GB, free: 8.277 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.347e-05/0.6342, allocations: 24.91 kB / 0.731 GB, free: 8.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006506/0.6348, allocations: 465.5 kB / 0.7315 GB, free: 7.703 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.6349, allocations: 30.56 kB / 0.7315 GB, free: 7.664 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.6349, allocations: 3.938 kB / 0.7315 GB, free: 7.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004016/0.6353, allocations: 105.6 kB / 0.7316 GB, free: 7.551 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.6353, allocations: 51.41 kB / 0.7317 GB, free: 7.488 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.6355, allocations: 101.9 kB / 0.7318 GB, free: 7.379 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.6356, allocations: 29.83 kB / 0.7318 GB, free: 7.344 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.31e-05/0.6356, allocations: 92.03 kB / 0.7319 GB, free: 7.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.6357, allocations: 4 kB / 0.7319 GB, free: 7.246 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.6357, allocations: 0 / 0.7319 GB, free: 7.246 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002005/0.6359, allocations: 314.8 kB / 0.7322 GB, free: 6.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.078e-05/0.636, allocations: 19.98 kB / 0.7322 GB, free: 6.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.115e-05/0.636, allocations: 31.97 kB / 0.7322 GB, free: 6.879 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.133e-05/0.6361, allocations: 19.98 kB / 0.7322 GB, free: 6.859 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.6362, allocations: 0 / 0.7322 GB, free: 6.859 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000203/0.6364, allocations: 81.58 kB / 0.7323 GB, free: 6.773 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.6364, allocations: 7.984 kB / 0.7323 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.6364, allocations: 4 kB / 0.7323 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.6364, allocations: 3.938 kB / 0.7323 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.416e-05/0.6365, allocations: 8 kB / 0.7323 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.6366, allocations: 0 / 0.7323 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.78e-05/0.6366, allocations: 20.02 kB / 0.7324 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.6366, allocations: 0 / 0.7324 GB, free: 6.73 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.233e-05/0.6367, allocations: 109.8 kB / 0.7325 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.6368, allocations: 4 kB / 0.7325 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.637, allocations: 93.11 kB / 0.7326 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.637, allocations: 0 / 0.7326 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.6371, allocations: 0 / 0.7326 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.6371, allocations: 0 / 0.7326 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.6372, allocations: 161.6 kB / 0.7327 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6373, allocations: 0 / 0.7327 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.225e-05/0.6373, allocations: 11.98 kB / 0.7327 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6373, allocations: 0 / 0.7327 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.6373, allocations: 4.031 kB / 0.7327 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.6374, allocations: 0 / 0.7327 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6374, allocations: 0 / 0.7327 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.6376, allocations: 183.4 kB / 0.7329 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/0.6377, allocations: 77.11 kB / 0.733 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.6377, allocations: 8.172 kB / 0.733 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.6378, allocations: 8 kB / 0.733 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.6378, allocations: 7.938 kB / 0.733 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.6379, allocations: 3.984 kB / 0.733 GB, free: 5.973 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.017e-05/0.6379, allocations: 87.28 kB / 0.7331 GB, free: 5.887 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6379, allocations: 0 / 0.7331 GB, free: 5.887 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002284/0.6382, allocations: 19.97 kB / 0.7331 GB, free: 5.867 MB / 0.545 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 (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 0.0001783/0.6383, allocations: 111.2 kB / 0.7332 GB, free: 5.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002079/0.6386, allocations: 47.97 kB / 0.7333 GB, free: 5.703 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6386, allocations: 4.062 kB / 0.7333 GB, free: 5.699 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.843e-05/0.6387, allocations: 19.98 kB / 0.7333 GB, free: 5.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.6389, allocations: 11.94 kB / 0.7333 GB, free: 5.668 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.6393, allocations: 116.7 kB / 0.7334 GB, free: 5.531 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005511/0.6398, allocations: 0.681 MB / 0.7341 GB, free: 4.824 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.661e-05/0.6399, allocations: 0 / 0.7341 GB, free: 4.824 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.038e-05/0.6399, allocations: 7.438 kB / 0.7341 GB, free: 4.816 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.6399, allocations: 0 / 0.7341 GB, free: 4.816 MB / 0.545 GB Notification: Performance of Templates: time 0.00279/0.6427, allocations: 0.6343 MB / 0.7347 GB, free: 4.188 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: