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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5437/0.5437, allocations: 90.91 MB / 99.34 MB, free: 2.203 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 221.5 MB / 343.2 MB, free: 1.609 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008767/0.0008768, allocations: 95.25 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.04e-05/2.043e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1606, allocations: 72.32 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5552/0.7159, allocations: 102.6 MB / 0.6538 GB, free: 7.688 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.7162, allocations: 73.7 kB / 0.6539 GB, free: 7.648 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01495/0.7312, allocations: 5.092 MB / 0.6589 GB, free: 3.398 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.7312, allocations: 0 / 0.6589 GB, free: 3.398 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.7312, allocations: 4 kB / 0.6589 GB, free: 3.395 MB / 458.7 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.0005485/0.7318, allocations: 418.4 kB / 0.6593 GB, free: 2.949 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/0.7319, allocations: 12.03 kB / 0.6593 GB, free: 2.938 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007351/0.7326, allocations: 110.6 kB / 0.6594 GB, free: 2.832 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.7328, allocations: 186.8 kB / 0.6596 GB, free: 2.609 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.7329, allocations: 59.41 kB / 0.6596 GB, free: 2.539 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.7329, allocations: 4 kB / 0.6596 GB, free: 2.535 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000165/0.7331, allocations: 72.86 kB / 0.6597 GB, free: 2.492 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.7333, allocations: 111.6 kB / 0.6598 GB, free: 2.398 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.7333, allocations: 0 / 0.6598 GB, free: 2.398 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.7333, allocations: 4 kB / 0.6598 GB, free: 2.395 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.7334, allocations: 11.92 kB / 0.6598 GB, free: 2.383 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.7344, allocations: 474.2 kB / 0.6603 GB, free: 1.93 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005778/0.735, allocations: 162.1 kB / 0.6604 GB, free: 1.793 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.671e-05/0.7351, allocations: 47.34 kB / 0.6605 GB, free: 1.758 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.7351, allocations: 0 / 0.6605 GB, free: 1.758 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.7352, allocations: 34.5 kB / 0.6605 GB, free: 1.715 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 8.51e-07/0.7352, allocations: 0 / 0.6605 GB, free: 1.715 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002784/0.7355, allocations: 105.4 kB / 0.6606 GB, free: 1.633 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.7355, allocations: 51.41 kB / 0.6606 GB, free: 1.57 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.7356, allocations: 124.8 kB / 0.6608 GB, free: 1.453 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.7357, allocations: 29.7 kB / 0.6608 GB, free: 1.418 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.081e-05/0.7358, allocations: 113.7 kB / 0.6609 GB, free: 1.309 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.7358, allocations: 15.66 kB / 0.6609 GB, free: 1.293 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.988e-06/0.7358, allocations: 0 / 0.6609 GB, free: 1.293 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.7359, allocations: 325.7 kB / 0.6612 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.297e-05/0.736, allocations: 29.75 kB / 0.6613 GB, free: 0.957 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.022e-05/0.7361, allocations: 52.5 kB / 0.6613 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.251e-05/0.7362, allocations: 35.42 kB / 0.6613 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.7362, allocations: 0 / 0.6613 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001841/0.7364, allocations: 111 kB / 0.6614 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.7364, allocations: 8 kB / 0.6615 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.7364, allocations: 0 / 0.6615 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.7364, allocations: 0 / 0.6615 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.7367, allocations: 48.02 kB / 0.6615 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.7367, allocations: 0 / 0.6615 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.7369, allocations: 43.16 kB / 0.6615 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.737, allocations: 4 kB / 0.6615 GB, free: 0.6992 MB / 458.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.586e-05/0.7371, allocations: 108.9 kB / 0.6616 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001797/0.7372, allocations: 106.4 kB / 0.6617 GB, free: 0.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.7373, allocations: 7.906 kB / 0.6618 GB, free: 0.4922 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.7375, allocations: 117.2 kB / 0.6619 GB, free: 408 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.7375, allocations: 3.953 kB / 0.6619 GB, free: 404 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7376, allocations: 4 kB / 0.6619 GB, free: 400 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.7376, allocations: 0 / 0.6619 GB, free: 400 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.7378, allocations: 212.8 kB / 0.6621 GB, free: 176 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.7378, allocations: 4 kB / 0.6621 GB, free: 172 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.7381, allocations: 43.89 kB / 0.6621 GB, free: 128 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.7381, allocations: 0 / 0.6621 GB, free: 128 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.7381, allocations: 0 / 0.6621 GB, free: 128 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.7381, allocations: 3.938 kB / 0.6621 GB, free: 124 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.7381, allocations: 3.953 kB / 0.6621 GB, free: 120 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.7384, allocations: 202.4 kB / 0.6623 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.7384, allocations: 85 kB / 0.6624 GB, free: 15.83 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.7384, allocations: 4 kB / 0.6624 GB, free: 15.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/0.7388, allocations: 43.95 kB / 0.6625 GB, free: 15.78 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.7388, allocations: 2.688 kB / 0.6625 GB, free: 15.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.7388, allocations: 11.94 kB / 0.6625 GB, free: 15.77 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.79e-05/0.7389, allocations: 100.2 kB / 0.6626 GB, free: 15.68 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7389, allocations: 0 / 0.6626 GB, free: 15.68 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000267/0.7392, allocations: 20 kB / 0.6626 GB, free: 15.66 MB / 474.7 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 () * 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 (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.0004887/0.7397, allocations: 0.7338 MB / 0.6633 GB, free: 14.93 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.7399, allocations: 85.98 kB / 0.6634 GB, free: 14.88 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7399, allocations: 0 / 0.6634 GB, free: 14.88 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.52e-05/0.74, allocations: 36.98 kB / 0.6634 GB, free: 14.85 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.7402, allocations: 7.953 kB / 0.6634 GB, free: 14.84 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.7407, allocations: 178.3 kB / 0.6636 GB, free: 14.65 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.741, allocations: 0.7042 MB / 0.6643 GB, free: 13.92 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.7411, allocations: 16.17 kB / 0.6643 GB, free: 13.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.113e-05/0.7412, allocations: 37.22 kB / 0.6643 GB, free: 13.88 MB / 474.7 MB Notification: Performance of SimCode: time 3.31e-07/0.7412, allocations: 0 / 0.6643 GB, free: 13.88 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.7616, allocations: 2.066 MB / 0.6663 GB, free: 11.83 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.7619, allocations: 138.1 kB / 0.6665 GB, free: 11.63 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.356, allocations: 4 kB / 0.6665 GB, free: 11.63 MB / 474.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)