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.001288/0.001288, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001442/0.001442, allocations: 216.6 kB / 22.25 MB, free: 5.078 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.438/1.438, allocations: 230.6 MB / 256 MB, free: 8.016 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.002569/0.002569, allocations: 280.1 kB / 312.7 MB, free: 2.828 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.274/1.274, allocations: 180.6 MB / 0.5369 GB, free: 13.1 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.002955/0.002955, allocations: 104.5 kB / 0.7396 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1887, allocations: 95.38 MB / 0.8327 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.003299/0.192, allocations: 1.763 MB / 0.8344 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.1937, allocations: 1.036 MB / 0.8354 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.806e-05/0.1938, allocations: 4 kB / 0.8355 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004824/0.1943, allocations: 151.7 kB / 0.8356 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.1944, allocations: 51.67 kB / 0.8356 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.1948, allocations: 111.6 kB / 0.8358 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.195, allocations: 107.5 kB / 0.8359 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.264e-05/0.1951, allocations: 3.938 kB / 0.8359 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.007e-05/0.1951, allocations: 43.78 kB / 0.8359 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.1952, allocations: 59.73 kB / 0.836 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.1953, allocations: 0 / 0.836 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003286/0.1956, allocations: 155.7 kB / 0.8361 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.015e-05/0.1957, allocations: 59.8 kB / 0.8362 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.222e-05/0.1957, allocations: 63.55 kB / 0.8362 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.1961, allocations: 247 kB / 0.8365 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1961, allocations: 0 / 0.8365 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1962, allocations: 3.938 kB / 0.8365 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.1962, allocations: 4 kB / 0.8365 GB, free: 4.82 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.0006655/0.1968, allocations: 425.6 kB / 0.8369 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.1969, allocations: 9.344 kB / 0.8369 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.741e-05/0.1969, allocations: 30.75 kB / 0.8369 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.197, allocations: 20.8 kB / 0.8369 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.1971, allocations: 157.7 kB / 0.8371 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.1971, allocations: 8.375 kB / 0.8371 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.1971, allocations: 12.23 kB / 0.8371 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.1973, allocations: 65.61 kB / 0.8372 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.1973, allocations: 0 / 0.8372 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-06/0.1974, allocations: 0 / 0.8372 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1974, allocations: 0 / 0.8372 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.1976, allocations: 63.94 kB / 0.8372 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.1981, allocations: 303.9 kB / 0.8375 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.1982, allocations: 66.48 kB / 0.8376 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.1983, allocations: 36.89 kB / 0.8376 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.511e-05/0.1984, allocations: 11.95 kB / 0.8376 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.1984, allocations: 30.56 kB / 0.8377 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.1984, allocations: 0 / 0.8377 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004177/0.1988, allocations: 137.5 kB / 0.8378 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.1989, allocations: 51.41 kB / 0.8378 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.1991, allocations: 261.8 kB / 0.8381 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1992, allocations: 25.7 kB / 0.8381 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.1993, allocations: 140.1 kB / 0.8382 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.1993, allocations: 3.953 kB / 0.8382 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.1993, allocations: 17.84 kB / 0.8383 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1995, allocations: 334.8 kB / 0.8386 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.1996, allocations: 27.98 kB / 0.8386 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.921e-05/0.1997, allocations: 27.97 kB / 0.8386 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.1999, allocations: 68.88 kB / 0.8387 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1999, allocations: 0 / 0.8387 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002626/0.2001, allocations: 105.5 kB / 0.8388 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.2002, allocations: 4 kB / 0.8388 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2002, allocations: 3.984 kB / 0.8388 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.2002, allocations: 0 / 0.8388 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.2003, allocations: 11.94 kB / 0.8388 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.2003, allocations: 4 kB / 0.8388 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.262e-05/0.2004, allocations: 15.95 kB / 0.8388 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.2004, allocations: 0 / 0.8388 GB, free: 2.195 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.0001366/0.2005, allocations: 142.4 kB / 0.839 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/0.2006, allocations: 19.86 kB / 0.839 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/0.2009, allocations: 114.5 kB / 0.8391 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2009, allocations: 4 kB / 0.8391 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.2009, allocations: 11.95 kB / 0.8391 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2009, allocations: 0 / 0.8391 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.2011, allocations: 188.6 kB / 0.8393 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2011, allocations: 0 / 0.8393 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.461e-05/0.2012, allocations: 11.98 kB / 0.8393 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2012, allocations: 3.938 kB / 0.8393 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.2012, allocations: 0 / 0.8393 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.2012, allocations: 0 / 0.8393 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2012, allocations: 0 / 0.8393 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.2015, allocations: 215.3 kB / 0.8395 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.291e-05/0.2016, allocations: 11.91 kB / 0.8395 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.2016, allocations: 0 / 0.8395 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.428e-05/0.2017, allocations: 7.984 kB / 0.8395 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.2017, allocations: 0 / 0.8395 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.2017, allocations: 4 kB / 0.8395 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002019/0.2019, allocations: 189.2 kB / 0.8397 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2019, allocations: 4.031 kB / 0.8397 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003355/0.2023, allocations: 47.88 kB / 0.8398 GB, free: 1.164 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.0008184/0.2031, allocations: 0.7901 MB / 0.8405 GB, free: 356 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002496/0.2033, allocations: 63.98 kB / 0.8406 GB, free: 292 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2033, allocations: 0 / 0.8406 GB, free: 292 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.808e-05/0.2034, allocations: 31.97 kB / 0.8406 GB, free: 260 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005021/0.2039, allocations: 60.44 kB / 0.8407 GB, free: 200 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000937/0.2049, allocations: 424.2 kB / 0.8411 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.2053, allocations: 0.7314 MB / 0.8418 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.187e-05/0.2053, allocations: 8 kB / 0.8418 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.312e-05/0.2054, allocations: 47.42 kB / 0.8419 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of SimCode: time 1.242e-06/0.2054, allocations: 0 / 0.8419 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03561/0.241, allocations: 4.255 MB / 0.846 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.22, allocations: 9.453 kB / 0.846 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: 15.45054162107408] Failed to read output from testmodel.py, exit status != 0: 11.33159441803582 11.361230592 11.159657623 Calling exit ...