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.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.001287/0.001287, 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.001561/0.001561, allocations: 217.2 kB / 22.26 MB, free: 5.125 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.992 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.002605/0.002605, allocations: 286.2 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.232/1.232, 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.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: 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.004272/0.004272, allocations: 105.3 kB / 0.7396 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.2008, allocations: 95.38 MB / 0.8327 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.003386/0.2042, allocations: 1.753 MB / 0.8344 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008679/0.2051, allocations: 0.5175 MB / 0.8349 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.203e-05/0.2051, allocations: 0 / 0.8349 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004541/0.2056, allocations: 151.7 kB / 0.8351 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.8e-05/0.2057, allocations: 63.67 kB / 0.8351 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.206, allocations: 63.73 kB / 0.8352 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.2061, allocations: 95.56 kB / 0.8353 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.601e-05/0.2062, allocations: 11.94 kB / 0.8353 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.313e-05/0.2063, allocations: 39.84 kB / 0.8353 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.2064, allocations: 59.67 kB / 0.8354 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.2064, allocations: 4 kB / 0.8354 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.2066, allocations: 87.84 kB / 0.8355 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.18e-05/0.2067, allocations: 59.8 kB / 0.8355 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.096e-05/0.2067, allocations: 59.56 kB / 0.8356 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.207, allocations: 203.1 kB / 0.8358 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2071, allocations: 0 / 0.8358 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2071, allocations: 0 / 0.8358 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.2071, allocations: 4 kB / 0.8358 GB, free: 5.543 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.0006765/0.2077, allocations: 409.5 kB / 0.8362 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.2078, allocations: 9.344 kB / 0.8362 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.515e-05/0.2078, allocations: 38.75 kB / 0.8362 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.2079, allocations: 20.8 kB / 0.8362 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.2081, allocations: 157.7 kB / 0.8364 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.2081, allocations: 384 / 0.8364 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.2081, allocations: 384 / 0.8364 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.2083, allocations: 65.98 kB / 0.8365 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2083, allocations: 0 / 0.8365 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.2083, allocations: 4 kB / 0.8365 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2083, allocations: 0 / 0.8365 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.2085, allocations: 63.88 kB / 0.8365 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.209, allocations: 299.9 kB / 0.8368 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.2092, allocations: 66.55 kB / 0.8369 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.921e-05/0.2093, allocations: 36.89 kB / 0.8369 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.2093, allocations: 11.94 kB / 0.8369 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.2093, allocations: 30.56 kB / 0.837 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.2093, allocations: 3.938 kB / 0.837 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004127/0.2098, allocations: 141.4 kB / 0.8371 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.2098, allocations: 51.41 kB / 0.8371 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.2101, allocations: 257.9 kB / 0.8374 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.2101, allocations: 25.7 kB / 0.8374 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.45e-05/0.2102, allocations: 136.1 kB / 0.8375 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.2102, allocations: 7.891 kB / 0.8375 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.2102, allocations: 21.84 kB / 0.8376 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.2104, allocations: 326.8 kB / 0.8379 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.2105, allocations: 31.97 kB / 0.8379 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.2106, allocations: 31.97 kB / 0.8379 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.2109, allocations: 68.69 kB / 0.838 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2109, allocations: 4.062 kB / 0.838 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003227/0.2112, allocations: 105.5 kB / 0.8381 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2113, allocations: 4 kB / 0.8381 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2113, allocations: 4 kB / 0.8381 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.2113, allocations: 0 / 0.8381 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.047e-05/0.2114, allocations: 7.984 kB / 0.8381 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.2114, allocations: 0 / 0.8381 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/0.2114, allocations: 12.02 kB / 0.8381 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.2114, allocations: 0 / 0.8381 GB, free: 2.945 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.0001146/0.2116, allocations: 138.4 kB / 0.8383 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.2116, allocations: 19.89 kB / 0.8383 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002748/0.2119, allocations: 110.5 kB / 0.8384 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.2119, allocations: 4 kB / 0.8384 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2119, allocations: 4 kB / 0.8384 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.2119, allocations: 8.016 kB / 0.8384 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.2121, allocations: 192.6 kB / 0.8386 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2121, allocations: 0 / 0.8386 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.643e-05/0.2122, allocations: 7.984 kB / 0.8386 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2122, allocations: 4 kB / 0.8386 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.2122, allocations: 0 / 0.8386 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.2122, allocations: 0 / 0.8386 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2122, allocations: 0 / 0.8386 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.2125, allocations: 215.2 kB / 0.8388 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.477e-05/0.2125, allocations: 23.84 kB / 0.8388 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.2125, allocations: 0 / 0.8388 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-05/0.2126, allocations: 4 kB / 0.8388 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.2127, allocations: 7.984 kB / 0.8388 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.2127, allocations: 0 / 0.8388 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001824/0.2128, allocations: 185.2 kB / 0.839 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2128, allocations: 4.031 kB / 0.839 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000287/0.2131, allocations: 43.86 kB / 0.8391 GB, free: 1.918 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.0007028/0.2138, allocations: 0.763 MB / 0.8398 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002361/0.2141, allocations: 71.92 kB / 0.8399 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2141, allocations: 0 / 0.8399 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.384e-05/0.2142, allocations: 31.97 kB / 0.8399 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/0.2147, allocations: 36.59 kB / 0.8399 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008268/0.2155, allocations: 408 kB / 0.8403 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.2159, allocations: 0.7352 MB / 0.8411 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.937e-05/0.2159, allocations: 4 kB / 0.8411 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.216, allocations: 51.42 kB / 0.8411 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.216, allocations: 0 / 0.8411 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0322/0.2482, allocations: 4.096 MB / 0.8451 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.15, allocations: 7.219 kB / 0.8451 GB, free: 11.82 MB / 0.5919 GB " [Timeout remaining time 649] (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: 15.284434940898791] Failed to read output from testmodel.py, exit status != 0: 11.257833488984033 11.274313035 11.06400911 Calling exit ...