Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.001249/0.001249, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001435/0.001435, allocations: 217.5 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.399/1.399, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.002483/0.002483, allocations: 285.4 kB / 313.5 MB, free: 2.797 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.173/1.173, allocations: 180.6 MB / 0.5377 GB, free: 12.96 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.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",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.002774/0.002774, allocations: 91.17 kB / 0.7403 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1756, allocations: 95.38 MB / 0.8335 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.003124/0.1787, allocations: 1.749 MB / 0.8352 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000881/0.1796, allocations: 486.1 kB / 0.8357 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.587e-05/0.1796, allocations: 0 / 0.8357 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005938/0.1802, allocations: 151.7 kB / 0.8358 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.1803, allocations: 51.72 kB / 0.8358 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.1807, allocations: 63.8 kB / 0.8359 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.1809, allocations: 99.5 kB / 0.836 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.266e-05/0.1809, allocations: 7.938 kB / 0.836 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.346e-05/0.181, allocations: 43.78 kB / 0.8361 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.1812, allocations: 47.77 kB / 0.8361 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.1812, allocations: 4 kB / 0.8361 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002401/0.1814, allocations: 99.81 kB / 0.8362 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.1815, allocations: 55.8 kB / 0.8363 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.701e-05/0.1816, allocations: 63.56 kB / 0.8363 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.182, allocations: 183.2 kB / 0.8365 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.182, allocations: 0 / 0.8365 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.182, allocations: 0 / 0.8365 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.178e-06/0.182, allocations: 0 / 0.8365 GB, free: 5.555 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.0007529/0.1827, allocations: 409 kB / 0.8369 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.1828, allocations: 17.94 kB / 0.8369 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.654e-05/0.1828, allocations: 4.172 kB / 0.8369 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.366e-05/0.1828, allocations: 30.75 kB / 0.8369 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.1829, allocations: 20.8 kB / 0.8369 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.1831, allocations: 157.7 kB / 0.8371 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1831, allocations: 4.312 kB / 0.8371 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.1831, allocations: 4.375 kB / 0.8371 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.1833, allocations: 57.8 kB / 0.8372 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1833, allocations: 0 / 0.8372 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.1833, allocations: 4 kB / 0.8372 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1834, allocations: 3.938 kB / 0.8372 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/0.1836, allocations: 39.95 kB / 0.8372 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006137/0.1842, allocations: 287.9 kB / 0.8375 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.1844, allocations: 54.48 kB / 0.8375 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.1845, allocations: 24.91 kB / 0.8376 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.754e-05/0.1846, allocations: 7.984 kB / 0.8376 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.1846, allocations: 30.56 kB / 0.8376 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.1846, allocations: 0 / 0.8376 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004154/0.185, allocations: 117.6 kB / 0.8377 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.1851, allocations: 55.34 kB / 0.8378 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.1854, allocations: 257.9 kB / 0.838 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.1854, allocations: 25.7 kB / 0.838 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.476e-05/0.1855, allocations: 128.1 kB / 0.8382 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.1855, allocations: 7.953 kB / 0.8382 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.1855, allocations: 9.719 kB / 0.8382 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1857, allocations: 338.8 kB / 0.8385 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-05/0.1858, allocations: 23.98 kB / 0.8385 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.063e-05/0.1859, allocations: 27.91 kB / 0.8385 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.186, allocations: 40.83 kB / 0.8386 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.186, allocations: 3.984 kB / 0.8386 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002523/0.1863, allocations: 89.59 kB / 0.8387 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.1863, allocations: 7.984 kB / 0.8387 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1863, allocations: 3.938 kB / 0.8387 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1863, allocations: 0 / 0.8387 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.917e-05/0.1864, allocations: 8 kB / 0.8387 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1864, allocations: 0 / 0.8387 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.724e-05/0.1865, allocations: 11.98 kB / 0.8387 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.1865, allocations: 0 / 0.8387 GB, free: 3.094 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.0001277/0.1866, allocations: 146.4 kB / 0.8388 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.1866, allocations: 15.91 kB / 0.8389 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.1869, allocations: 90.61 kB / 0.8389 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1869, allocations: 0 / 0.8389 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1869, allocations: 0 / 0.8389 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.1869, allocations: 0 / 0.8389 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.1871, allocations: 180.6 kB / 0.8391 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1871, allocations: 8.031 kB / 0.8391 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.653e-05/0.1872, allocations: 15.92 kB / 0.8391 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1872, allocations: 3.938 kB / 0.8391 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.1872, allocations: 0 / 0.8391 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1872, allocations: 4 kB / 0.8391 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1872, allocations: 0 / 0.8391 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.1875, allocations: 191.3 kB / 0.8393 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.1875, allocations: 19.84 kB / 0.8393 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.1875, allocations: 0 / 0.8393 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.034e-05/0.1876, allocations: 4 kB / 0.8393 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.1876, allocations: 3.984 kB / 0.8394 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.1877, allocations: 4 kB / 0.8394 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001761/0.1878, allocations: 185.2 kB / 0.8395 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1878, allocations: 0 / 0.8395 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002696/0.1881, allocations: 35.92 kB / 0.8396 GB, free: 2.129 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.0006657/0.1888, allocations: 0.7435 MB / 0.8403 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002221/0.189, allocations: 55.92 kB / 0.8403 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.189, allocations: 0 / 0.8403 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.1891, allocations: 27.92 kB / 0.8404 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004834/0.1896, allocations: 38.97 kB / 0.8404 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008449/0.1904, allocations: 402 kB / 0.8408 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.1908, allocations: 0.7314 MB / 0.8415 GB, free: 52 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.727e-05/0.1909, allocations: 4 kB / 0.8415 GB, free: 48 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.378e-05/0.191, allocations: 59.45 kB / 0.8416 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of SimCode: time 7.62e-07/0.191, allocations: 0 / 0.8416 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/0.2258, allocations: 4.085 MB / 0.8456 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.89, allocations: 5.312 kB / 0.8456 GB, free: 12.09 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist_fmu --startTime=0 --stopTime=1.1 --stepSize=0.00044 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.922092459979467] Failed to read output from testmodel.py, exit status != 0: 11.050816064991523 11.075324495 10.88865301 Calling exit ...