Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 218.4 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.388/1.388, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003424/0.003424, allocations: 278.1 kB / 313.5 MB, free: 2.84 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.145/1.145, allocations: 180.6 MB / 0.5377 GB, free: 13.02 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002753/0.002753, allocations: 95.48 kB / 0.7403 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1645, allocations: 95.38 MB / 0.8335 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.003103/0.1676, allocations: 1.754 MB / 0.8352 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007949/0.1684, allocations: 0.5136 MB / 0.8357 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.537e-05/0.1684, allocations: 0 / 0.8357 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004059/0.1688, allocations: 147.7 kB / 0.8358 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.839e-05/0.1689, allocations: 59.73 kB / 0.8359 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.1692, allocations: 67.72 kB / 0.836 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000151/0.1693, allocations: 99.5 kB / 0.8361 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.142e-05/0.1694, allocations: 11.94 kB / 0.8361 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.35e-05/0.1694, allocations: 35.91 kB / 0.8361 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.911e-05/0.1695, allocations: 55.69 kB / 0.8361 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.1695, allocations: 4 kB / 0.8362 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.1697, allocations: 91.83 kB / 0.8362 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.71e-05/0.1698, allocations: 59.8 kB / 0.8363 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.348e-05/0.1699, allocations: 59.56 kB / 0.8364 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002771/0.1701, allocations: 195.1 kB / 0.8365 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1701, allocations: 0 / 0.8365 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1701, allocations: 0 / 0.8365 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.1702, allocations: 0 / 0.8365 GB, free: 5.539 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000585/0.1707, allocations: 417 kB / 0.8369 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.1708, allocations: 9.344 kB / 0.8369 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.171e-05/0.1708, allocations: 192 / 0.8369 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.879e-05/0.1708, allocations: 34.75 kB / 0.837 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.1709, allocations: 24.8 kB / 0.837 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.171, allocations: 161.6 kB / 0.8372 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-06/0.171, allocations: 384 / 0.8372 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.171, allocations: 384 / 0.8372 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.1712, allocations: 73.72 kB / 0.8372 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.1712, allocations: 0 / 0.8372 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.1712, allocations: 4 kB / 0.8372 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1712, allocations: 3.938 kB / 0.8372 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.1714, allocations: 59.89 kB / 0.8373 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.1719, allocations: 307.9 kB / 0.8376 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.1721, allocations: 62.55 kB / 0.8376 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.1722, allocations: 36.89 kB / 0.8377 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.1722, allocations: 8 kB / 0.8377 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.1722, allocations: 34.5 kB / 0.8377 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.1722, allocations: 4 kB / 0.8377 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003863/0.1726, allocations: 133.5 kB / 0.8379 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.1727, allocations: 55.41 kB / 0.8379 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.1729, allocations: 253.9 kB / 0.8381 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.1729, allocations: 25.7 kB / 0.8382 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.99e-05/0.173, allocations: 136.1 kB / 0.8383 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.1731, allocations: 12.02 kB / 0.8383 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.1731, allocations: 17.72 kB / 0.8383 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1732, allocations: 334.8 kB / 0.8387 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.365e-05/0.1733, allocations: 27.98 kB / 0.8387 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.884e-05/0.1734, allocations: 31.97 kB / 0.8387 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.1736, allocations: 68.81 kB / 0.8388 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1736, allocations: 0 / 0.8388 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002313/0.1738, allocations: 105.5 kB / 0.8389 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.1738, allocations: 4 kB / 0.8389 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.1738, allocations: 4 kB / 0.8389 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1739, allocations: 3.984 kB / 0.8389 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.866e-05/0.1739, allocations: 4 kB / 0.8389 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.1739, allocations: 0 / 0.8389 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.635e-05/0.174, allocations: 12.02 kB / 0.8389 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.174, allocations: 4 kB / 0.8389 GB, free: 2.922 MB / 0.5762 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 0.0001137/0.1741, allocations: 138.4 kB / 0.839 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.1742, allocations: 15.91 kB / 0.8391 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.1744, allocations: 110.5 kB / 0.8392 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1744, allocations: 4 kB / 0.8392 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1744, allocations: 4.031 kB / 0.8392 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1745, allocations: 3.984 kB / 0.8392 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.1747, allocations: 188.6 kB / 0.8393 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1747, allocations: 4 kB / 0.8394 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.963e-05/0.1747, allocations: 15.92 kB / 0.8394 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1747, allocations: 0 / 0.8394 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1747, allocations: 0 / 0.8394 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1747, allocations: 3.938 kB / 0.8394 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1747, allocations: 0 / 0.8394 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.175, allocations: 215.2 kB / 0.8396 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.1751, allocations: 19.86 kB / 0.8396 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.1751, allocations: 0 / 0.8396 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.224e-05/0.1752, allocations: 4 kB / 0.8396 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.1752, allocations: 3.984 kB / 0.8396 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.1752, allocations: 4 kB / 0.8396 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001691/0.1754, allocations: 193.2 kB / 0.8398 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1754, allocations: 0 / 0.8398 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002602/0.1757, allocations: 35.94 kB / 0.8398 GB, free: 1.902 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.0006721/0.1763, allocations: 0.763 MB / 0.8406 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002298/0.1766, allocations: 67.89 kB / 0.8406 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.1766, allocations: 0 / 0.8406 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.615e-05/0.1766, allocations: 31.97 kB / 0.8407 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.1771, allocations: 48.5 kB / 0.8407 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000737/0.1778, allocations: 414.6 kB / 0.8411 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.1782, allocations: 0.7335 MB / 0.8418 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.42e-05/0.1782, allocations: 8 kB / 0.8418 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.295e-05/0.1783, allocations: 47.42 kB / 0.8419 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.1783, allocations: 0 / 0.8419 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.203, allocations: 4.125 MB / 0.8459 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/10.94, allocations: 9.125 kB / 0.8459 GB, free: 11.78 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor_fmu --startTime=0 --stopTime=1.1 --stepSize=0.00044 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.86819559900323] Failed to read output from testmodel.py, exit status != 0: 11.099520488001872 11.115578313 10.942321681 Calling exit ...