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.0009254/0.0009254, allocations: 179.1 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4635/0.4635, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 221.3 MB / 348.3 MB, free: 468 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000885/0.0008851, allocations: 99.17 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.12e-05/3.135e-05, allocations: 4 kB / 0.4897 GB, free: 5.266 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3326, allocations: 72.3 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.4487, allocations: 103.3 MB / 0.6612 GB, free: 1.031 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001764/0.449, allocations: 71.97 kB / 0.6612 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01489/0.4639, allocations: 5.105 MB / 0.6662 GB, free: 11.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.4639, allocations: 0 / 0.6662 GB, free: 11.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.4639, allocations: 0 / 0.6662 GB, free: 11.86 MB / 490.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.000491/0.4644, allocations: 430 kB / 0.6666 GB, free: 11.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.4645, allocations: 11.98 kB / 0.6666 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.849e-05/0.4645, allocations: 42.55 kB / 0.6667 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007337/0.4652, allocations: 111.8 kB / 0.6668 GB, free: 11.22 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.4654, allocations: 178.8 kB / 0.667 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.019e-05/0.4655, allocations: 67.41 kB / 0.667 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.4655, allocations: 8 kB / 0.667 GB, free: 10.92 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.4657, allocations: 119.2 kB / 0.6671 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.869e-06/0.4658, allocations: 0 / 0.6671 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.4658, allocations: 11.98 kB / 0.6672 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-06/0.4658, allocations: 0 / 0.6672 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.466, allocations: 75.91 kB / 0.6672 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.4671, allocations: 0.5094 MB / 0.6677 GB, free: 10.15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006019/0.4678, allocations: 170.5 kB / 0.6679 GB, free: 9.973 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.337e-05/0.4679, allocations: 40.98 kB / 0.6679 GB, free: 9.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.4679, allocations: 4 kB / 0.6679 GB, free: 9.926 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.4679, allocations: 38.5 kB / 0.668 GB, free: 9.879 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.4679, allocations: 3.938 kB / 0.668 GB, free: 9.875 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002681/0.4682, allocations: 110.6 kB / 0.6681 GB, free: 9.762 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.4683, allocations: 51.41 kB / 0.6681 GB, free: 9.699 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.4684, allocations: 123.7 kB / 0.6682 GB, free: 9.574 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.4684, allocations: 29.7 kB / 0.6683 GB, free: 9.539 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.459e-05/0.4685, allocations: 108.2 kB / 0.6684 GB, free: 9.426 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.4685, allocations: 23.64 kB / 0.6684 GB, free: 9.402 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.4686, allocations: 0 / 0.6684 GB, free: 9.402 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.4687, allocations: 322.8 kB / 0.6687 GB, free: 9.078 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.4688, allocations: 35.98 kB / 0.6687 GB, free: 9.043 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.584e-05/0.4689, allocations: 50.58 kB / 0.6688 GB, free: 8.984 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.622e-05/0.469, allocations: 38.45 kB / 0.6688 GB, free: 8.949 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.469, allocations: 0 / 0.6688 GB, free: 8.949 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002225/0.4693, allocations: 121.5 kB / 0.6689 GB, free: 8.824 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.4693, allocations: 4 kB / 0.6689 GB, free: 8.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.4693, allocations: 4 kB / 0.6689 GB, free: 8.816 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4693, allocations: 3.953 kB / 0.669 GB, free: 8.812 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.4696, allocations: 47.94 kB / 0.669 GB, free: 8.766 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.4696, allocations: 0 / 0.669 GB, free: 8.766 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.4698, allocations: 32 kB / 0.669 GB, free: 8.734 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.4698, allocations: 8 kB / 0.669 GB, free: 8.727 MB / 490.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 7.167e-05/0.4699, allocations: 101 kB / 0.6691 GB, free: 8.621 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.4699, allocations: 11.89 kB / 0.6691 GB, free: 8.609 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.4702, allocations: 134.1 kB / 0.6693 GB, free: 8.473 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.4702, allocations: 3.953 kB / 0.6693 GB, free: 8.469 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.4702, allocations: 0 / 0.6693 GB, free: 8.469 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.4702, allocations: 0 / 0.6693 GB, free: 8.469 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.4705, allocations: 234.4 kB / 0.6695 GB, free: 8.191 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4705, allocations: 0 / 0.6695 GB, free: 8.191 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.4707, allocations: 47.95 kB / 0.6695 GB, free: 8.145 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.4707, allocations: 0 / 0.6695 GB, free: 8.145 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.4707, allocations: 192 / 0.6695 GB, free: 8.145 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.4708, allocations: 11.95 kB / 0.6696 GB, free: 8.133 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4708, allocations: 0 / 0.6696 GB, free: 8.133 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.471, allocations: 207.3 kB / 0.6698 GB, free: 7.914 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.401e-05/0.4711, allocations: 85 kB / 0.6698 GB, free: 7.812 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.4711, allocations: 4 kB / 0.6698 GB, free: 7.809 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.4714, allocations: 47.95 kB / 0.6699 GB, free: 7.762 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.4715, allocations: 4.984 kB / 0.6699 GB, free: 7.758 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.4715, allocations: 7.984 kB / 0.6699 GB, free: 7.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.968e-05/0.4716, allocations: 106.2 kB / 0.67 GB, free: 7.648 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4716, allocations: 4 kB / 0.67 GB, free: 7.645 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002456/0.4718, allocations: 20 kB / 0.67 GB, free: 7.625 MB / 490.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.0005882/0.4724, allocations: 0.7357 MB / 0.6707 GB, free: 6.859 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.4726, allocations: 79.98 kB / 0.6708 GB, free: 6.781 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4726, allocations: 0 / 0.6708 GB, free: 6.781 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.587e-05/0.4727, allocations: 52.05 kB / 0.6709 GB, free: 6.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.4729, allocations: 9.609 kB / 0.6709 GB, free: 6.723 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000471/0.4734, allocations: 183.1 kB / 0.6711 GB, free: 6.504 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.4737, allocations: 0.7004 MB / 0.6717 GB, free: 5.777 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.4738, allocations: 24.16 kB / 0.6718 GB, free: 5.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.892e-05/0.4739, allocations: 29.86 kB / 0.6718 GB, free: 5.723 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4739, allocations: 4 kB / 0.6718 GB, free: 5.719 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01365/0.4876, allocations: 2.397 MB / 0.6741 GB, free: 3.473 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/0.4878, allocations: 144.3 kB / 0.6743 GB, free: 3.25 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.368/1.855, allocations: 0 / 0.6743 GB, free: 3.25 MB / 490.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)