Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 109.3 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002476/0.002476, allocations: 283.9 kB / 303 MB, free: 9.504 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.2/1.2, allocations: 180.9 MB / 0.5261 GB, free: 14.71 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002749/0.002749, allocations: 104.9 kB / 0.7248 GB, free: 40.41 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1693, allocations: 94.16 MB / 0.8167 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.003193/0.1725, allocations: 1.507 MB / 0.8182 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.1737, allocations: 0.6646 MB / 0.8188 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.846e-05/0.1738, allocations: 4 kB / 0.8188 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.036e-05/0.1738, allocations: 3.938 kB / 0.8189 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.085e-05/0.1739, allocations: 3.938 kB / 0.8189 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.1743, allocations: 79.72 kB / 0.8189 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.995e-05/0.1744, allocations: 31.92 kB / 0.819 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1745, allocations: 11.98 kB / 0.819 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.644e-05/0.1745, allocations: 19.92 kB / 0.819 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.896e-05/0.1746, allocations: 19.92 kB / 0.819 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.1746, allocations: 4 kB / 0.819 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.1748, allocations: 103.8 kB / 0.8191 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.1748, allocations: 7.984 kB / 0.8191 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.1749, allocations: 27.86 kB / 0.8191 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.1751, allocations: 76 kB / 0.8192 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1751, allocations: 4 kB / 0.8192 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.515e-06/0.1751, allocations: 3.938 kB / 0.8192 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.1751, allocations: 0 / 0.8192 GB, free: 2.922 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005416/0.1756, allocations: 367.2 kB / 0.8196 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.1757, allocations: 12.03 kB / 0.8196 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.1757, allocations: 30.75 kB / 0.8196 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.1757, allocations: 12.88 kB / 0.8196 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.1759, allocations: 160.4 kB / 0.8198 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1759, allocations: 8.375 kB / 0.8198 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.1759, allocations: 8.25 kB / 0.8198 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.1761, allocations: 57.8 kB / 0.8199 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.1761, allocations: 3.984 kB / 0.8199 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1761, allocations: 4 kB / 0.8199 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.1761, allocations: 7.984 kB / 0.8199 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.757e-05/0.1762, allocations: 23.98 kB / 0.8199 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.1766, allocations: 284.7 kB / 0.8202 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.104e-05/0.1767, allocations: 30.56 kB / 0.8202 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.064e-05/0.1767, allocations: 16.92 kB / 0.8202 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005484/0.1773, allocations: 0.5622 MB / 0.8208 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.1773, allocations: 30.56 kB / 0.8208 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1773, allocations: 0 / 0.8208 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002779/0.1776, allocations: 73.56 kB / 0.8209 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.1776, allocations: 51.53 kB / 0.8209 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.1778, allocations: 121.8 kB / 0.821 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.1778, allocations: 25.7 kB / 0.8211 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.1778, allocations: 88.14 kB / 0.8211 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.1779, allocations: 11.94 kB / 0.8211 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.1779, allocations: 9.719 kB / 0.8212 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.1781, allocations: 322.8 kB / 0.8215 GB, free: 288 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.018e-05/0.1781, allocations: 7.984 kB / 0.8215 GB, free: 280 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.537e-05/0.1781, allocations: 16 kB / 0.8215 GB, free: 264 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.834e-05/0.1782, allocations: 24.84 kB / 0.8215 GB, free: 236 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1782, allocations: 0 / 0.8215 GB, free: 236 kB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001218/0.1783, allocations: 61.56 kB / 0.8216 GB, free: 168 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1784, allocations: 8 kB / 0.8216 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1784, allocations: 0 / 0.8216 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1784, allocations: 0 / 0.8216 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.102e-05/0.1785, allocations: 8.094 kB / 0.8216 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1785, allocations: 0 / 0.8216 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.486e-05/0.1785, allocations: 4 kB / 0.8216 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.1785, allocations: 11.92 kB / 0.8216 GB, free: 136 kB / 0.5606 GB 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 (2): * Single equations (assignments): 2 * 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.986e-05/0.1786, allocations: 109.8 kB / 0.8217 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.1786, allocations: 11.89 kB / 0.8217 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.1788, allocations: 69.08 kB / 0.8218 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1788, allocations: 0 / 0.8218 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1788, allocations: 4.031 kB / 0.8218 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1788, allocations: 0 / 0.8218 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.179, allocations: 169.5 kB / 0.8219 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.179, allocations: 0 / 0.8219 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.1791, allocations: 8 kB / 0.822 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1791, allocations: 3.984 kB / 0.822 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.1791, allocations: 0 / 0.822 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1791, allocations: 0 / 0.822 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1791, allocations: 0 / 0.822 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.1793, allocations: 155.5 kB / 0.8221 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.1793, allocations: 81.06 kB / 0.8222 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.1794, allocations: 3.984 kB / 0.8222 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.078e-05/0.1794, allocations: 4 kB / 0.8222 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.1794, allocations: 0 / 0.8222 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.1794, allocations: 0 / 0.8222 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.704e-05/0.1795, allocations: 107.1 kB / 0.8223 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1795, allocations: 4.031 kB / 0.8223 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002267/0.1797, allocations: 8 kB / 0.8223 GB, free: 15.31 MB / 0.5762 GB 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 (2): * Single equations (assignments): 2 * 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.0005974/0.1803, allocations: 0.6851 MB / 0.823 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000138/0.1805, allocations: 28.02 kB / 0.823 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1805, allocations: 0 / 0.823 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.92e-05/0.1805, allocations: 19.92 kB / 0.823 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.1807, allocations: 3.938 kB / 0.823 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.1821, allocations: 1.311 MB / 0.8243 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.1824, allocations: 0.6807 MB / 0.825 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.394e-05/0.1825, allocations: 4 kB / 0.825 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.1825, allocations: 23.36 kB / 0.825 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.1825, allocations: 0 / 0.825 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.2072, allocations: 1.532 MB / 0.8265 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/8.033, allocations: 6.953 kB / 0.8265 GB, free: 10.97 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.134918214287609] Failed to read output from testmodel.py, exit status != 0: 8.105025433935225 8.13075603 7.951694242 Calling exit ...