Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 109.5 kB / 17.04 MB, free: 6.082 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.001712/0.001712, allocations: 196 kB / 17.98 MB, free: 5.16 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.323/1.323, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7377/0.7377, allocations: 115.1 MB / 406.9 MB, free: 6.398 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.91 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3359, allocations: 76.15 MB / 0.5576 GB, free: 37.06 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001622/0.3376, allocations: 0.5779 MB / 0.5581 GB, free: 36.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002411/0.3378, allocations: 91.14 kB / 0.5582 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.507e-05/0.3379, allocations: 0 / 0.5582 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.434e-05/0.3379, allocations: 0 / 0.5582 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.763e-05/0.3379, allocations: 1.156 kB / 0.5582 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.3381, allocations: 19.19 kB / 0.5583 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.305e-05/0.3382, allocations: 4.609 kB / 0.5583 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.31e-05/0.3382, allocations: 5.016 kB / 0.5583 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.707e-05/0.3383, allocations: 10.67 kB / 0.5583 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.008e-05/0.3383, allocations: 3.219 kB / 0.5583 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.3383, allocations: 1.344 kB / 0.5583 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.612e-05/0.3384, allocations: 16.16 kB / 0.5583 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.3384, allocations: 0.5625 kB / 0.5583 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.3384, allocations: 5.828 kB / 0.5583 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.339e-05/0.3385, allocations: 18.56 kB / 0.5583 GB, free: 36.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3385, allocations: 1.156 kB / 0.5583 GB, free: 36.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3385, allocations: 0 / 0.5583 GB, free: 36.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.3386, allocations: 0.5312 kB / 0.5583 GB, free: 36.63 MB / 446.1 MB 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.0002621/0.3388, allocations: 318.3 kB / 0.5586 GB, free: 36.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.3389, allocations: 11 kB / 0.5586 GB, free: 36.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.339, allocations: 10.19 kB / 0.5586 GB, free: 36.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.784e-05/0.3391, allocations: 165.1 kB / 0.5588 GB, free: 36.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.3391, allocations: 2.188 kB / 0.5588 GB, free: 36.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.3391, allocations: 2.094 kB / 0.5588 GB, free: 36.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.3392, allocations: 44.94 kB / 0.5588 GB, free: 36.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.3392, allocations: 1.094 kB / 0.5588 GB, free: 36.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.3392, allocations: 5.219 kB / 0.5589 GB, free: 36.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3393, allocations: 0 / 0.5589 GB, free: 36.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.465e-05/0.3393, allocations: 13.98 kB / 0.5589 GB, free: 36.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.961e-05/0.3394, allocations: 156.9 kB / 0.559 GB, free: 35.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.3396, allocations: 40.81 kB / 0.5591 GB, free: 35.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.858e-05/0.3396, allocations: 15.19 kB / 0.5591 GB, free: 35.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.3397, allocations: 4.906 kB / 0.5591 GB, free: 35.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.3397, allocations: 37.02 kB / 0.5591 GB, free: 35.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3397, allocations: 0 / 0.5591 GB, free: 35.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001867/0.3399, allocations: 58.06 kB / 0.5592 GB, free: 35.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.3399, allocations: 57.19 kB / 0.5592 GB, free: 35.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.041e-05/0.3399, allocations: 90.45 kB / 0.5593 GB, free: 35.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.34, allocations: 26.73 kB / 0.5593 GB, free: 35.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.032e-05/0.34, allocations: 80.14 kB / 0.5594 GB, free: 35.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.34, allocations: 14.89 kB / 0.5594 GB, free: 35.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.34, allocations: 20.06 kB / 0.5594 GB, free: 35.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.73e-05/0.3401, allocations: 310.8 kB / 0.5597 GB, free: 35.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.651e-05/0.3401, allocations: 5.391 kB / 0.5597 GB, free: 35.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.94e-05/0.3402, allocations: 11.16 kB / 0.5598 GB, free: 35.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.902e-05/0.3402, allocations: 22.12 kB / 0.5598 GB, free: 35.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3402, allocations: 0 / 0.5598 GB, free: 35.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.921e-05/0.3403, allocations: 56.77 kB / 0.5598 GB, free: 35.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3404, allocations: 5.812 kB / 0.5598 GB, free: 35.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3404, allocations: 0 / 0.5598 GB, free: 35.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3404, allocations: 4.656 kB / 0.5598 GB, free: 35.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/0.3408, allocations: 43.78 kB / 0.5599 GB, free: 35.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009252/0.3417, allocations: 1.4 MB / 0.5612 GB, free: 33.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.949e-05/0.3417, allocations: 8.062 kB / 0.5613 GB, free: 33.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.3418, allocations: 0 / 0.5613 GB, free: 33.61 MB / 446.1 MB 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.3418, allocations: 112.8 kB / 0.5614 GB, free: 33.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-06/0.3418, allocations: 2.516 kB / 0.5614 GB, free: 33.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.399e-05/0.3418, allocations: 9.438 kB / 0.5614 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3418, allocations: 1.594 kB / 0.5614 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.3419, allocations: 0 / 0.5614 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.3419, allocations: 1.266 kB / 0.5614 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.43e-05/0.3419, allocations: 151 kB / 0.5615 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3419, allocations: 2.438 kB / 0.5615 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003408/0.3423, allocations: 51.38 kB / 0.5616 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3423, allocations: 1.5 kB / 0.5616 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.3423, allocations: 1.734 kB / 0.5616 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008142/0.3431, allocations: 1.407 MB / 0.563 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3431, allocations: 5.688 kB / 0.563 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.3432, allocations: 73.69 kB / 0.563 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.289e-05/0.3433, allocations: 83.27 kB / 0.5631 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-06/0.3433, allocations: 6.141 kB / 0.5631 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.696e-05/0.3433, allocations: 9.031 kB / 0.5631 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.3433, allocations: 4.812 kB / 0.5631 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.3433, allocations: 0.9844 kB / 0.5631 GB, free: 31.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.051e-05/0.3434, allocations: 75.28 kB / 0.5632 GB, free: 31.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3434, allocations: 1.812 kB / 0.5632 GB, free: 31.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001955/0.3436, allocations: 7.719 kB / 0.5632 GB, free: 31.59 MB / 446.1 MB 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.9e-05/0.3437, allocations: 103 kB / 0.5633 GB, free: 31.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004432/0.3441, allocations: 66.59 kB / 0.5634 GB, free: 31.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3441, allocations: 0 / 0.5634 GB, free: 31.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.3443, allocations: 35.97 kB / 0.5634 GB, free: 31.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.3445, allocations: 1.906 kB / 0.5634 GB, free: 31.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.3448, allocations: 94.95 kB / 0.5635 GB, free: 31.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.3449, allocations: 0.6784 MB / 0.5642 GB, free: 30.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.309e-05/0.345, allocations: 4.25 kB / 0.5642 GB, free: 30.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.345, allocations: 10.75 kB / 0.5642 GB, free: 30.68 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.345, allocations: 2.156 kB / 0.5642 GB, free: 30.68 MB / 446.1 MB Notification: Performance of Templates: time 0.002197/0.3472, allocations: 422 kB / 0.5646 GB, free: 30.63 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)