Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.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.001589/0.001589, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001824/0.001824, allocations: 211.8 kB / 22.24 MB, free: 4.855 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.381/1.381, allocations: 230.6 MB / 256 MB, free: 7.816 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.002468/0.002468, allocations: 291.5 kB / 312.7 MB, free: 2.633 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.162/1.162, allocations: 180.6 MB / 0.5369 GB, free: 14.53 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.wDerPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi",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.002893/0.002893, allocations: 101.2 kB / 0.7395 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1764, allocations: 95.4 MB / 0.8326 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.003093/0.1795, allocations: 1.702 MB / 0.8343 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.181, allocations: 0.9267 MB / 0.8352 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.188e-05/0.181, allocations: 4 kB / 0.8352 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004621/0.1815, allocations: 131.7 kB / 0.8353 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.809e-05/0.1816, allocations: 55.67 kB / 0.8354 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003853/0.182, allocations: 111.6 kB / 0.8355 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.1821, allocations: 103.4 kB / 0.8356 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.302e-05/0.1821, allocations: 11.92 kB / 0.8356 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.41e-05/0.1822, allocations: 35.84 kB / 0.8356 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.754e-05/0.1823, allocations: 51.77 kB / 0.8357 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.1823, allocations: 0 / 0.8357 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.1826, allocations: 127.7 kB / 0.8358 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.578e-05/0.1827, allocations: 55.8 kB / 0.8359 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.529e-05/0.1827, allocations: 59.61 kB / 0.8359 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.1831, allocations: 235 kB / 0.8361 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1831, allocations: 0 / 0.8361 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1831, allocations: 0 / 0.8361 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.1831, allocations: 0 / 0.8361 GB, free: 4.73 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.0006095/0.1837, allocations: 420.9 kB / 0.8365 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.1837, allocations: 13.34 kB / 0.8366 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.1838, allocations: 38.73 kB / 0.8366 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.1838, allocations: 20.8 kB / 0.8366 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.184, allocations: 153.7 kB / 0.8368 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.184, allocations: 8.359 kB / 0.8368 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.184, allocations: 384 / 0.8368 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.1842, allocations: 65.61 kB / 0.8368 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1842, allocations: 0 / 0.8368 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.1842, allocations: 0 / 0.8368 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1842, allocations: 0 / 0.8368 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.1844, allocations: 59.89 kB / 0.8369 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/0.1849, allocations: 311.8 kB / 0.8372 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.1851, allocations: 66.55 kB / 0.8372 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.456e-05/0.1852, allocations: 32.91 kB / 0.8373 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.219e-05/0.1852, allocations: 15.97 kB / 0.8373 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.1852, allocations: 34.5 kB / 0.8373 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1852, allocations: 0 / 0.8373 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004107/0.1856, allocations: 141.6 kB / 0.8375 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.1857, allocations: 51.41 kB / 0.8375 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.1859, allocations: 257.9 kB / 0.8378 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.186, allocations: 25.7 kB / 0.8378 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.679e-05/0.186, allocations: 136.1 kB / 0.8379 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.1861, allocations: 7.938 kB / 0.8379 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.1861, allocations: 13.72 kB / 0.8379 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1862, allocations: 330.8 kB / 0.8382 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.621e-05/0.1863, allocations: 31.97 kB / 0.8383 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.766e-05/0.1864, allocations: 39.94 kB / 0.8383 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.1866, allocations: 64.75 kB / 0.8384 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1866, allocations: 0 / 0.8384 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002259/0.1868, allocations: 105.5 kB / 0.8385 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1869, allocations: 8 kB / 0.8385 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1869, allocations: 96 / 0.8385 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1869, allocations: 4 kB / 0.8385 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.67e-05/0.187, allocations: 11.98 kB / 0.8385 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.187, allocations: 0 / 0.8385 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.391e-05/0.187, allocations: 11.92 kB / 0.8385 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.187, allocations: 4 kB / 0.8385 GB, free: 2.102 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.0001163/0.1871, allocations: 134.4 kB / 0.8386 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.1872, allocations: 19.86 kB / 0.8387 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.1875, allocations: 122.5 kB / 0.8388 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1875, allocations: 0 / 0.8388 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1875, allocations: 0 / 0.8388 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1875, allocations: 0 / 0.8388 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.1877, allocations: 192.6 kB / 0.839 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1877, allocations: 4 kB / 0.839 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.406e-05/0.1878, allocations: 7.984 kB / 0.839 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1878, allocations: 0 / 0.839 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.1878, allocations: 3.938 kB / 0.839 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1878, allocations: 4 kB / 0.839 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1878, allocations: 4.031 kB / 0.839 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.188, allocations: 211.2 kB / 0.8392 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.1881, allocations: 15.91 kB / 0.8392 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.1881, allocations: 0 / 0.8392 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.165e-05/0.1882, allocations: 7.984 kB / 0.8392 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.1882, allocations: 0 / 0.8392 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.1882, allocations: 0 / 0.8392 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001739/0.1884, allocations: 193.2 kB / 0.8394 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1884, allocations: 0 / 0.8394 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002923/0.1887, allocations: 51.91 kB / 0.8394 GB, free: 1.074 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.00074/0.1894, allocations: 0.7887 MB / 0.8402 GB, free: 268 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.1897, allocations: 63.89 kB / 0.8403 GB, free: 204 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1897, allocations: 0 / 0.8403 GB, free: 204 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.1898, allocations: 36.06 kB / 0.8403 GB, free: 168 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.1902, allocations: 44.39 kB / 0.8404 GB, free: 124 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008733/0.1911, allocations: 424.3 kB / 0.8408 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.1913, allocations: 122.8 kB / 0.8409 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.576e-05/0.1913, allocations: 7.984 kB / 0.8409 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.731e-05/0.1914, allocations: 51.42 kB / 0.8409 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.1914, allocations: 0 / 0.8409 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03221/0.2236, allocations: 4.82 MB / 0.8456 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.91, allocations: 3.75 kB / 0.8456 GB, free: 10.84 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi_fmu --startTime=0 --stopTime=1.1 --stepSize=0.00044 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.807950062211603] Failed to read output from testmodel.py, exit status != 0: 11.01190704293549 11.027352853 10.841221773 Calling exit ...