Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 109 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002567/0.002567, allocations: 286.9 kB / 303 MB, free: 9.496 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.308/1.308, allocations: 180.9 MB / 0.5261 GB, free: 14.57 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002782/0.002782, allocations: 101 kB / 0.7247 GB, free: 40.04 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1895, allocations: 94.16 MB / 0.8167 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.003399/0.1929, allocations: 1.713 MB / 0.8184 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009594/0.1939, allocations: 0.5037 MB / 0.8189 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.76e-05/0.194, allocations: 0 / 0.8189 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005181/0.1945, allocations: 143.5 kB / 0.819 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.1946, allocations: 63.61 kB / 0.8191 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.195, allocations: 59.8 kB / 0.8191 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.1952, allocations: 99.5 kB / 0.8192 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.843e-05/0.1953, allocations: 15.97 kB / 0.8192 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.81e-05/0.1953, allocations: 31.8 kB / 0.8193 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.1955, allocations: 59.69 kB / 0.8193 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.1955, allocations: 4 kB / 0.8193 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.1957, allocations: 87.89 kB / 0.8194 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.1958, allocations: 59.8 kB / 0.8195 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.972e-05/0.1959, allocations: 67.55 kB / 0.8195 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.1962, allocations: 187.4 kB / 0.8197 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.1963, allocations: 4 kB / 0.8197 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.013e-06/0.1963, allocations: 4 kB / 0.8197 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.1963, allocations: 0 / 0.8197 GB, free: 2.359 MB / 0.5606 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.0008323/0.1971, allocations: 498 kB / 0.8202 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.1971, allocations: 8.031 kB / 0.8202 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.488e-05/0.1972, allocations: 30.75 kB / 0.8202 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.1972, allocations: 16.84 kB / 0.8202 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.1975, allocations: 219.9 kB / 0.8205 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.1975, allocations: 384 / 0.8205 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.1975, allocations: 4.375 kB / 0.8205 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.1977, allocations: 77.91 kB / 0.8205 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1977, allocations: 3.984 kB / 0.8205 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.1977, allocations: 0 / 0.8205 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1977, allocations: 0 / 0.8205 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.1979, allocations: 55.95 kB / 0.8206 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006265/0.1986, allocations: 336.8 kB / 0.8209 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.1987, allocations: 58.55 kB / 0.821 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.1988, allocations: 40.83 kB / 0.821 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.65e-05/0.1989, allocations: 11.98 kB / 0.821 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.1989, allocations: 38.55 kB / 0.8211 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.1989, allocations: 4 kB / 0.8211 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004561/0.1994, allocations: 133.5 kB / 0.8212 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.1994, allocations: 59.34 kB / 0.8212 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.1997, allocations: 254.7 kB / 0.8215 GB, free: 356 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.1997, allocations: 29.7 kB / 0.8215 GB, free: 320 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.1998, allocations: 128.1 kB / 0.8216 GB, free: 188 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.1998, allocations: 8.078 kB / 0.8216 GB, free: 180 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.654e-05/0.1999, allocations: 13.72 kB / 0.8217 GB, free: 160 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.2001, allocations: 334.8 kB / 0.822 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.2002, allocations: 27.92 kB / 0.822 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.697e-05/0.2003, allocations: 35.91 kB / 0.822 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.2004, allocations: 68.81 kB / 0.8221 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2004, allocations: 0 / 0.8221 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003221/0.2008, allocations: 105.5 kB / 0.8222 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.2008, allocations: 8 kB / 0.8222 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2008, allocations: 0 / 0.8222 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.2008, allocations: 0 / 0.8222 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.591e-05/0.2009, allocations: 7.984 kB / 0.8222 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.2009, allocations: 4.031 kB / 0.8222 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.427e-05/0.201, allocations: 4 kB / 0.8222 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.201, allocations: 4 kB / 0.8222 GB, free: 15.55 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.0001384/0.2011, allocations: 141.7 kB / 0.8224 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.2012, allocations: 19.86 kB / 0.8224 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000319/0.2015, allocations: 122.5 kB / 0.8225 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.2015, allocations: 8.031 kB / 0.8225 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2015, allocations: 0 / 0.8225 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2015, allocations: 0 / 0.8225 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.2018, allocations: 217.6 kB / 0.8227 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2018, allocations: 0 / 0.8227 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.131e-05/0.2019, allocations: 11.98 kB / 0.8227 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2019, allocations: 0 / 0.8227 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.2019, allocations: 0 / 0.8227 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2019, allocations: 0 / 0.8227 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2019, allocations: 0 / 0.8227 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.2022, allocations: 211.2 kB / 0.8229 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.252e-05/0.2023, allocations: 92.95 kB / 0.823 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.2023, allocations: 4 kB / 0.823 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.382e-05/0.2024, allocations: 11.98 kB / 0.823 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.2025, allocations: 3.938 kB / 0.823 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.2025, allocations: 0 / 0.823 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002046/0.2027, allocations: 198 kB / 0.8232 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2027, allocations: 0 / 0.8232 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000301/0.203, allocations: 31.94 kB / 0.8233 GB, free: 14.4 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.0008098/0.2038, allocations: 0.7708 MB / 0.824 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002627/0.2041, allocations: 63.94 kB / 0.8241 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2041, allocations: 0 / 0.8241 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.129e-05/0.2042, allocations: 27.98 kB / 0.8241 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005186/0.2047, allocations: 52.52 kB / 0.8241 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000953/0.2056, allocations: 407.4 kB / 0.8245 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.2061, allocations: 0.7419 MB / 0.8253 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.808e-05/0.2061, allocations: 15.73 kB / 0.8253 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.211e-05/0.2062, allocations: 51.17 kB / 0.8253 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.142e-06/0.2062, allocations: 0 / 0.8253 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03143/0.2376, allocations: 3.995 MB / 0.8292 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.293/8.531, allocations: 9.047 kB / 0.8292 GB, free: 8.375 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor_fmu --startTime=0 --stopTime=200 --stepSize=0.08 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.830767075996846] Failed to read output from testmodel.py, exit status != 0: 8.600685462821275 8.616600286 8.417152845 Calling exit ...