Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.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.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001414, allocations: 108.9 kB / 17.02 MB, free: 6.121 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.001612/0.001612, allocations: 196.1 kB / 17.97 MB, free: 5.211 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.33/1.33, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7067/0.7067, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.89 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3294, allocations: 76.15 MB / 0.5576 GB, free: 36.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.00261/0.3321, allocations: 1.757 MB / 0.5593 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008751/0.3329, allocations: 0.6559 MB / 0.5599 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.188e-05/0.333, allocations: 1.094 kB / 0.5599 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.031e-05/0.3331, allocations: 15 kB / 0.5599 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.459e-05/0.3331, allocations: 19.06 kB / 0.5599 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004941/0.3336, allocations: 169.6 kB / 0.5601 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.3338, allocations: 126.6 kB / 0.5602 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.3339, allocations: 47.69 kB / 0.5603 GB, free: 34.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.3341, allocations: 57.77 kB / 0.5603 GB, free: 34.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.132e-05/0.3341, allocations: 47.42 kB / 0.5604 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.3342, allocations: 10.66 kB / 0.5604 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.3343, allocations: 48.38 kB / 0.5604 GB, free: 34.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.669e-05/0.3343, allocations: 34.78 kB / 0.5605 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.23e-05/0.3344, allocations: 56.3 kB / 0.5605 GB, free: 34.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.3346, allocations: 148.9 kB / 0.5607 GB, free: 34.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3346, allocations: 4 kB / 0.5607 GB, free: 34.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3346, allocations: 0.5938 kB / 0.5607 GB, free: 34.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3346, allocations: 1.906 kB / 0.5607 GB, free: 34.69 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005099/0.3351, allocations: 438.3 kB / 0.5611 GB, free: 34.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.3352, allocations: 9.891 kB / 0.5611 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007967/0.336, allocations: 111 kB / 0.5612 GB, free: 34.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.987e-05/0.3361, allocations: 191.8 kB / 0.5614 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.437e-05/0.3362, allocations: 60.47 kB / 0.5614 GB, free: 34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.3362, allocations: 9.25 kB / 0.5615 GB, free: 34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004823/0.3367, allocations: 168.9 kB / 0.5616 GB, free: 33.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.3367, allocations: 0 / 0.5616 GB, free: 33.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.3367, allocations: 5.688 kB / 0.5616 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3367, allocations: 3.406 kB / 0.5616 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005739/0.3373, allocations: 160.8 kB / 0.5618 GB, free: 33.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.3384, allocations: 490.6 kB / 0.5622 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009726/0.3394, allocations: 218.8 kB / 0.5625 GB, free: 33.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/0.3397, allocations: 81.62 kB / 0.5625 GB, free: 33.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.3397, allocations: 3.766 kB / 0.5625 GB, free: 33.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.3397, allocations: 32.78 kB / 0.5626 GB, free: 33.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3397, allocations: 0 / 0.5626 GB, free: 33.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009646/0.3407, allocations: 266.8 kB / 0.5628 GB, free: 33.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.3408, allocations: 52.97 kB / 0.5629 GB, free: 33.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.862e-05/0.3409, allocations: 146 kB / 0.563 GB, free: 33.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.3409, allocations: 25.7 kB / 0.563 GB, free: 33.13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.3409, allocations: 115.2 kB / 0.5631 GB, free: 33.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.341, allocations: 11.97 kB / 0.5632 GB, free: 33.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.341, allocations: 27.67 kB / 0.5632 GB, free: 32.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.244e-05/0.3411, allocations: 321.9 kB / 0.5635 GB, free: 32.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.3414, allocations: 71 kB / 0.5636 GB, free: 32.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/0.3417, allocations: 94.77 kB / 0.5636 GB, free: 32.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005099/0.3422, allocations: 168.2 kB / 0.5638 GB, free: 32.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3422, allocations: 0 / 0.5638 GB, free: 32.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005985/0.3428, allocations: 202.1 kB / 0.564 GB, free: 32.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3428, allocations: 6.344 kB / 0.564 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3428, allocations: 0 / 0.564 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3428, allocations: 5.875 kB / 0.564 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.3431, allocations: 40.98 kB / 0.564 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.3431, allocations: 2.281 kB / 0.5641 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.3433, allocations: 29.41 kB / 0.5641 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.3433, allocations: 5.656 kB / 0.5641 GB, free: 32.48 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 8.763e-05/0.3434, allocations: 115.7 kB / 0.5642 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.3435, allocations: 8.078 kB / 0.5642 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000683/0.3442, allocations: 210.3 kB / 0.5644 GB, free: 32.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.3442, allocations: 5.969 kB / 0.5644 GB, free: 32.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3442, allocations: 1.219 kB / 0.5644 GB, free: 32.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3442, allocations: 0 / 0.5644 GB, free: 32.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.3444, allocations: 244.8 kB / 0.5646 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3444, allocations: 5.234 kB / 0.5646 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.3447, allocations: 32.58 kB / 0.5647 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3447, allocations: 1.094 kB / 0.5647 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.3447, allocations: 8.203 kB / 0.5647 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3447, allocations: 0 / 0.5647 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3447, allocations: 1.094 kB / 0.5647 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006097/0.3453, allocations: 289 kB / 0.565 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/0.3454, allocations: 84.53 kB / 0.565 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.3454, allocations: 7.656 kB / 0.5651 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.3457, allocations: 36.52 kB / 0.5651 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.3457, allocations: 10.03 kB / 0.5651 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.3458, allocations: 6.25 kB / 0.5651 GB, free: 31.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.026e-05/0.3458, allocations: 107.2 kB / 0.5652 GB, free: 31.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3458, allocations: 1.281 kB / 0.5652 GB, free: 31.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.3461, allocations: 27.81 kB / 0.5652 GB, free: 31.66 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 (6): * Single equations (assignments): 6 * 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.0001006/0.3462, allocations: 97.14 kB / 0.5653 GB, free: 31.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006353/0.3468, allocations: 166 kB / 0.5655 GB, free: 31.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3468, allocations: 1.125 kB / 0.5655 GB, free: 31.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003031/0.3471, allocations: 83.61 kB / 0.5656 GB, free: 31.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.3475, allocations: 7.625 kB / 0.5656 GB, free: 31.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006602/0.3482, allocations: 250.3 kB / 0.5658 GB, free: 31.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.3484, allocations: 0.7009 MB / 0.5665 GB, free: 30.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.013e-05/0.3485, allocations: 14.02 kB / 0.5665 GB, free: 30.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.214e-05/0.3486, allocations: 17.38 kB / 0.5665 GB, free: 30.65 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3486, allocations: 2.125 kB / 0.5665 GB, free: 30.65 MB / 446.1 MB Notification: Performance of Templates: time 0.004642/0.3532, allocations: 1.478 MB / 0.568 GB, free: 30.56 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)