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.001298/0.001298, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001588/0.001588, allocations: 217.3 kB / 22.25 MB, free: 5.121 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.984 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.002534/0.002534, allocations: 289.3 kB / 312.7 MB, free: 2.801 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.227/1.227, allocations: 180.6 MB / 0.5369 GB, free: 13.06 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",fmuType="me",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.002878/0.002878, allocations: 97.41 kB / 0.7396 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1761, allocations: 95.38 MB / 0.8327 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.003118/0.1792, allocations: 1.743 MB / 0.8344 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007628/0.18, allocations: 486.1 kB / 0.8349 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.18, allocations: 0 / 0.8349 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004533/0.1804, allocations: 155.7 kB / 0.835 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.808e-05/0.1805, allocations: 47.75 kB / 0.8351 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.1808, allocations: 63.8 kB / 0.8351 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.1809, allocations: 103.5 kB / 0.8352 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.377e-05/0.181, allocations: 11.94 kB / 0.8352 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.913e-05/0.1811, allocations: 43.78 kB / 0.8353 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.1812, allocations: 47.77 kB / 0.8353 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.1812, allocations: 4 kB / 0.8353 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.1814, allocations: 95.81 kB / 0.8354 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.976e-05/0.1815, allocations: 51.81 kB / 0.8355 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.268e-05/0.1816, allocations: 67.48 kB / 0.8355 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.1818, allocations: 183.2 kB / 0.8357 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1818, allocations: 0 / 0.8357 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.974e-06/0.1818, allocations: 0 / 0.8357 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.1819, allocations: 0 / 0.8357 GB, free: 5.578 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.0006434/0.1825, allocations: 417 kB / 0.8361 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.1825, allocations: 9.344 kB / 0.8361 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.637e-05/0.1826, allocations: 34.75 kB / 0.8362 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.1826, allocations: 20.8 kB / 0.8362 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.1828, allocations: 157.7 kB / 0.8363 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1828, allocations: 384 / 0.8363 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-06/0.1828, allocations: 384 / 0.8363 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.183, allocations: 65.92 kB / 0.8364 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.183, allocations: 0 / 0.8364 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.183, allocations: 0 / 0.8364 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.183, allocations: 0 / 0.8364 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.1832, allocations: 43.95 kB / 0.8364 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.1837, allocations: 291.8 kB / 0.8367 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.1838, allocations: 46.5 kB / 0.8368 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.1839, allocations: 28.89 kB / 0.8368 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.184, allocations: 0 / 0.8368 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.184, allocations: 38.56 kB / 0.8368 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.184, allocations: 0 / 0.8368 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003763/0.1844, allocations: 109.5 kB / 0.8369 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.1844, allocations: 59.39 kB / 0.837 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.1847, allocations: 245.9 kB / 0.8372 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.1847, allocations: 29.7 kB / 0.8372 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.865e-05/0.1848, allocations: 140 kB / 0.8374 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.1848, allocations: 3.953 kB / 0.8374 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.1849, allocations: 13.72 kB / 0.8374 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.185, allocations: 334.9 kB / 0.8377 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.397e-05/0.1851, allocations: 19.98 kB / 0.8377 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.934e-05/0.1852, allocations: 15.98 kB / 0.8377 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.1854, allocations: 60.69 kB / 0.8378 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1854, allocations: 0 / 0.8378 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002224/0.1856, allocations: 93.58 kB / 0.8379 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1856, allocations: 4 kB / 0.8379 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1856, allocations: 0 / 0.8379 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1856, allocations: 0 / 0.8379 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.498e-05/0.1857, allocations: 15.92 kB / 0.8379 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.1857, allocations: 0 / 0.8379 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.1858, allocations: 11.92 kB / 0.8379 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.1858, allocations: 32 / 0.8379 GB, free: 3.121 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.0001141/0.1859, allocations: 138.4 kB / 0.8381 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.186, allocations: 19.89 kB / 0.8381 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.1862, allocations: 102.6 kB / 0.8382 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1862, allocations: 0 / 0.8382 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1862, allocations: 0 / 0.8382 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1862, allocations: 4 kB / 0.8382 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.1865, allocations: 184.7 kB / 0.8384 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1865, allocations: 0 / 0.8384 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.993e-05/0.1865, allocations: 11.98 kB / 0.8384 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1865, allocations: 0 / 0.8384 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.1865, allocations: 0 / 0.8384 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1865, allocations: 3.938 kB / 0.8384 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1865, allocations: 0 / 0.8384 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.1868, allocations: 191.3 kB / 0.8386 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.1868, allocations: 19.86 kB / 0.8386 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.1869, allocations: 0 / 0.8386 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.912e-05/0.187, allocations: 7.984 kB / 0.8386 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.187, allocations: 0 / 0.8386 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.187, allocations: 0 / 0.8386 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001818/0.1872, allocations: 193.2 kB / 0.8388 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1872, allocations: 0 / 0.8388 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002653/0.1874, allocations: 31.94 kB / 0.8388 GB, free: 2.156 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.000666/0.1881, allocations: 0.7435 MB / 0.8395 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.1883, allocations: 55.98 kB / 0.8396 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1883, allocations: 3.938 kB / 0.8396 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.732e-05/0.1884, allocations: 15.98 kB / 0.8396 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.1889, allocations: 46.97 kB / 0.8396 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007642/0.1897, allocations: 400.1 kB / 0.84 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.19, allocations: 0.7353 MB / 0.8407 GB, free: 76 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.577e-05/0.1901, allocations: 4 kB / 0.8407 GB, free: 72 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/0.1901, allocations: 47.42 kB / 0.8408 GB, free: 28 kB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.1901, allocations: 0 / 0.8408 GB, free: 28 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03438/0.2245, allocations: 4.067 MB / 0.8448 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.19, allocations: 6.688 kB / 0.8448 GB, free: 12.14 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 sys.exit(0), Time elapsed: 15.321835937909782] Failed to read output from testmodel.py, exit status != 0: 11.297996901907027 11.322999994 11.136819887 Calling exit ...