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.00126/0.00126, allocations: 182.1 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5382/0.5382, allocations: 91.98 MB / 108.5 MB, free: 13.08 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.515/1.515, allocations: 223.2 MB / 354.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009175/0.0009175, allocations: 103.1 kB / 427.4 MB, free: 3.887 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003111/0.0003111, allocations: 8 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1673, allocations: 72.31 MB / 0.5689 GB, free: 1.828 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4989/0.6663, allocations: 103.3 MB / 0.6698 GB, free: 1.062 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.6666, allocations: 75.95 kB / 0.6699 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0156/0.6822, allocations: 5.129 MB / 0.6749 GB, free: 11.87 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.6822, allocations: 0 / 0.6749 GB, free: 11.87 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.6823, allocations: 0 / 0.6749 GB, free: 11.87 MB / 474.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.0006107/0.6829, allocations: 430.7 kB / 0.6753 GB, free: 11.4 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.6829, allocations: 16.02 kB / 0.6753 GB, free: 11.39 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.995e-05/0.683, allocations: 38.56 kB / 0.6754 GB, free: 11.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007018/0.6837, allocations: 119.7 kB / 0.6755 GB, free: 11.22 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.6839, allocations: 182.8 kB / 0.6757 GB, free: 11 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.687e-05/0.684, allocations: 63.39 kB / 0.6757 GB, free: 10.93 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.684, allocations: 8 kB / 0.6757 GB, free: 10.92 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/0.6846, allocations: 193.4 kB / 0.6759 GB, free: 10.73 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.6846, allocations: 3.984 kB / 0.6759 GB, free: 10.72 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.6846, allocations: 8 kB / 0.6759 GB, free: 10.71 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.6846, allocations: 0 / 0.6759 GB, free: 10.71 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006155/0.6852, allocations: 195.8 kB / 0.6761 GB, free: 10.52 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.6864, allocations: 0.5016 MB / 0.6766 GB, free: 9.969 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009969/0.6874, allocations: 262.3 kB / 0.6769 GB, free: 9.703 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.6874, allocations: 4 kB / 0.6769 GB, free: 9.699 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.6875, allocations: 38.69 kB / 0.6769 GB, free: 9.652 MB / 474.7 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.6875, allocations: 0 / 0.6769 GB, free: 9.652 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009964/0.6885, allocations: 317.4 kB / 0.6772 GB, free: 9.336 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.6885, allocations: 55.41 kB / 0.6773 GB, free: 9.27 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.393e-05/0.6886, allocations: 121 kB / 0.6774 GB, free: 9.145 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.6886, allocations: 29.7 kB / 0.6774 GB, free: 9.109 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.417e-05/0.6887, allocations: 112.1 kB / 0.6775 GB, free: 8.992 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.6887, allocations: 27.64 kB / 0.6775 GB, free: 8.965 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-06/0.6888, allocations: 0 / 0.6775 GB, free: 8.965 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.837e-05/0.6889, allocations: 322.8 kB / 0.6778 GB, free: 8.641 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/0.6892, allocations: 87.92 kB / 0.6779 GB, free: 8.555 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003749/0.6896, allocations: 114.5 kB / 0.678 GB, free: 8.434 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.6899, allocations: 87.94 kB / 0.6781 GB, free: 8.348 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.6899, allocations: 0 / 0.6781 GB, free: 8.348 MB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006608/0.6905, allocations: 237.4 kB / 0.6783 GB, free: 8.109 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.6906, allocations: 11.94 kB / 0.6784 GB, free: 8.098 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.6906, allocations: 0 / 0.6784 GB, free: 8.098 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.6906, allocations: 7.953 kB / 0.6784 GB, free: 8.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.6909, allocations: 48.19 kB / 0.6784 GB, free: 8.043 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.6909, allocations: 4 kB / 0.6784 GB, free: 8.039 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.6911, allocations: 31.97 kB / 0.6784 GB, free: 8.008 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.6911, allocations: 4 kB / 0.6785 GB, free: 8.004 MB / 474.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.6913, allocations: 119.4 kB / 0.6786 GB, free: 7.879 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.6913, allocations: 15.89 kB / 0.6786 GB, free: 7.863 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007226/0.692, allocations: 242.2 kB / 0.6788 GB, free: 7.617 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.692, allocations: 0 / 0.6788 GB, free: 7.617 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.6921, allocations: 3.953 kB / 0.6788 GB, free: 7.613 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.6921, allocations: 0 / 0.6788 GB, free: 7.613 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.6923, allocations: 226.4 kB / 0.679 GB, free: 7.344 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.6923, allocations: 7.984 kB / 0.679 GB, free: 7.336 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.6926, allocations: 39.95 kB / 0.6791 GB, free: 7.297 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.6926, allocations: 0 / 0.6791 GB, free: 7.297 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.6926, allocations: 4 kB / 0.6791 GB, free: 7.293 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.6926, allocations: 4 kB / 0.6791 GB, free: 7.289 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.6926, allocations: 7.891 kB / 0.6791 GB, free: 7.281 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007434/0.6934, allocations: 319.2 kB / 0.6794 GB, free: 6.953 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.6934, allocations: 88.95 kB / 0.6795 GB, free: 6.848 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.6935, allocations: 3.938 kB / 0.6795 GB, free: 6.844 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.6938, allocations: 47.95 kB / 0.6795 GB, free: 6.797 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.6938, allocations: 11.94 kB / 0.6795 GB, free: 6.785 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.6939, allocations: 7.984 kB / 0.6795 GB, free: 6.777 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.501e-05/0.6939, allocations: 101.8 kB / 0.6796 GB, free: 6.68 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6939, allocations: 8 kB / 0.6797 GB, free: 6.672 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002638/0.6942, allocations: 20 kB / 0.6797 GB, free: 6.652 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 () * 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 (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.0009467/0.6952, allocations: 0.8412 MB / 0.6805 GB, free: 5.785 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006383/0.6958, allocations: 200 kB / 0.6807 GB, free: 5.59 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6958, allocations: 128 / 0.6807 GB, free: 5.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003056/0.6961, allocations: 112 kB / 0.6808 GB, free: 5.48 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.6964, allocations: 9.516 kB / 0.6808 GB, free: 5.473 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.6974, allocations: 0.8077 MB / 0.6816 GB, free: 4.605 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.6977, allocations: 0.7043 MB / 0.6823 GB, free: 3.875 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.6978, allocations: 20.17 kB / 0.6823 GB, free: 3.852 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.597e-05/0.6979, allocations: 31.42 kB / 0.6823 GB, free: 3.82 MB / 474.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6979, allocations: 0 / 0.6823 GB, free: 3.82 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01307/0.711, allocations: 2.389 MB / 0.6847 GB, free: 1.559 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/0.7112, allocations: 162.9 kB / 0.6848 GB, free: 1.324 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.52, allocations: 0 / 0.6848 GB, free: 1.324 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)