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.001733/0.001733, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001417/0.001417, allocations: 219.6 kB / 23.03 MB, free: 4.922 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.411/1.411, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.002584/0.002584, allocations: 280.2 kB / 313.5 MB, free: 2.605 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.192/1.192, allocations: 180.6 MB / 0.5377 GB, free: 14.61 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.002845/0.002845, allocations: 102.7 kB / 0.7402 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1691, allocations: 95.38 MB / 0.8334 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.002871/0.172, allocations: 1.718 MB / 0.8351 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007942/0.1728, allocations: 458.2 kB / 0.8355 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.249e-05/0.1728, allocations: 0 / 0.8355 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003847/0.1732, allocations: 127.8 kB / 0.8356 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.338e-05/0.1733, allocations: 63.72 kB / 0.8357 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.1735, allocations: 67.73 kB / 0.8357 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.1737, allocations: 99.5 kB / 0.8358 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.1737, allocations: 7.922 kB / 0.8358 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.657e-05/0.1738, allocations: 31.86 kB / 0.8359 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.839e-05/0.1739, allocations: 63.73 kB / 0.8359 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.1739, allocations: 0 / 0.8359 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.1741, allocations: 71.88 kB / 0.836 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.103e-05/0.1741, allocations: 63.78 kB / 0.8361 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.825e-05/0.1742, allocations: 47.69 kB / 0.8361 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.1745, allocations: 199 kB / 0.8363 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1745, allocations: 4 kB / 0.8363 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1745, allocations: 0 / 0.8363 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.1745, allocations: 0 / 0.8363 GB, free: 5.363 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.0006267/0.1751, allocations: 405 kB / 0.8367 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1751, allocations: 13.34 kB / 0.8367 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.772e-05/0.1752, allocations: 192 / 0.8367 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.228e-05/0.1752, allocations: 38.73 kB / 0.8367 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.1752, allocations: 24.8 kB / 0.8368 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.1754, allocations: 157.7 kB / 0.8369 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.1754, allocations: 384 / 0.8369 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.1754, allocations: 4.375 kB / 0.8369 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.1756, allocations: 65.78 kB / 0.837 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1756, allocations: 0 / 0.837 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.1756, allocations: 0 / 0.837 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.1756, allocations: 0 / 0.837 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.1758, allocations: 71.83 kB / 0.8371 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.1762, allocations: 299.9 kB / 0.8373 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.1764, allocations: 62.55 kB / 0.8374 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.36e-05/0.1765, allocations: 32.91 kB / 0.8374 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/0.1765, allocations: 7.984 kB / 0.8374 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.1765, allocations: 34.56 kB / 0.8375 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1765, allocations: 3.938 kB / 0.8375 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003748/0.1769, allocations: 137.5 kB / 0.8376 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.177, allocations: 51.41 kB / 0.8377 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.1772, allocations: 261.8 kB / 0.8379 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.1772, allocations: 25.7 kB / 0.8379 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.563e-05/0.1773, allocations: 132.1 kB / 0.8381 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.1773, allocations: 7.891 kB / 0.8381 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.1774, allocations: 21.7 kB / 0.8381 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1775, allocations: 334.8 kB / 0.8384 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.122e-05/0.1776, allocations: 32.09 kB / 0.8384 GB, free: 3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-05/0.1777, allocations: 23.98 kB / 0.8385 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.1779, allocations: 72.73 kB / 0.8385 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1779, allocations: 0 / 0.8385 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002222/0.1781, allocations: 109.6 kB / 0.8386 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1781, allocations: 8 kB / 0.8386 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1781, allocations: 0 / 0.8386 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1781, allocations: 0 / 0.8386 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.943e-05/0.1782, allocations: 7.984 kB / 0.8386 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.1782, allocations: 4 kB / 0.8386 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.26e-05/0.1783, allocations: 7.984 kB / 0.8387 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.1783, allocations: 0 / 0.8387 GB, free: 2.762 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.0001227/0.1784, allocations: 134.4 kB / 0.8388 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.1784, allocations: 19.94 kB / 0.8388 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.1787, allocations: 122.5 kB / 0.8389 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1787, allocations: 0 / 0.8389 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1787, allocations: 0 / 0.8389 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1787, allocations: 0 / 0.8389 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.1789, allocations: 192.6 kB / 0.8391 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1789, allocations: 0 / 0.8391 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.475e-05/0.179, allocations: 15.98 kB / 0.8391 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.179, allocations: 0 / 0.8391 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.179, allocations: 4.031 kB / 0.8391 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.179, allocations: 0 / 0.8391 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.179, allocations: 0 / 0.8391 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.1793, allocations: 215.2 kB / 0.8393 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.493e-05/0.1793, allocations: 15.86 kB / 0.8393 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.1794, allocations: 3.938 kB / 0.8393 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.861e-05/0.1794, allocations: 4 kB / 0.8394 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.1795, allocations: 7.984 kB / 0.8394 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.1795, allocations: 7.969 kB / 0.8394 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001646/0.1796, allocations: 185.2 kB / 0.8395 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1796, allocations: 0 / 0.8395 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002692/0.1799, allocations: 39.92 kB / 0.8396 GB, free: 1.738 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.0006803/0.1806, allocations: 0.7591 MB / 0.8403 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.1808, allocations: 67.92 kB / 0.8404 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1808, allocations: 0 / 0.8404 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.091e-05/0.1809, allocations: 31.97 kB / 0.8404 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.1814, allocations: 40.41 kB / 0.8405 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007629/0.1821, allocations: 412.1 kB / 0.8408 GB, free: 380 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.1823, allocations: 124.7 kB / 0.841 GB, free: 240 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.484e-05/0.1823, allocations: 4 kB / 0.841 GB, free: 236 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.648e-05/0.1824, allocations: 47.42 kB / 0.841 GB, free: 188 kB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.1824, allocations: 4 kB / 0.841 GB, free: 184 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/0.2082, allocations: 4.318 MB / 0.8452 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.16, allocations: 8.438 kB / 0.8452 GB, free: 12.07 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: 15.268825214006938] Failed to read output from testmodel.py, exit status != 0: 11.322488411096856 11.343615892 11.166095615 Calling exit ...