Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.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.001242/0.001242, 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.001385/0.001385, allocations: 217 kB / 22.25 MB, free: 5.082 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.4/1.4, allocations: 230.6 MB / 256 MB, free: 7.996 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.00241/0.00241, allocations: 300 kB / 312.7 MB, free: 2.777 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.184/1.184, allocations: 180.6 MB / 0.5369 GB, free: 13.07 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.Fluid.Sources.Examples.Outside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside",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.002844/0.002844, allocations: 112 kB / 0.7396 GB, free: 28.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1687, allocations: 95.38 MB / 0.8327 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.6616/0.8303, allocations: 180.3 MB / 1.009 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01432/0.8446, allocations: 11.2 MB / 1.02 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/0.8465, allocations: 43.12 kB / 1.02 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.8476, allocations: 430.6 kB / 1.02 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0031/0.8507, allocations: 1.136 MB / 1.021 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004406/0.8551, allocations: 1.802 MB / 1.023 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002713/0.8578, allocations: 2.413 MB / 1.025 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/0.8593, allocations: 1.135 MB / 1.027 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00328/0.8626, allocations: 1.34 MB / 1.028 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.8636, allocations: 0.8448 MB / 1.029 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001869/0.8638, allocations: 156 kB / 1.029 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002731/0.8665, allocations: 1.515 MB / 1.03 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003258/0.8668, allocations: 468.9 kB / 1.031 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006439/0.8675, allocations: 0.7905 MB / 1.031 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003159/0.8706, allocations: 2.65 MB / 1.034 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8706, allocations: 0 / 1.034 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8706, allocations: 0.7812 kB / 1.034 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.351e-05/0.8707, allocations: 0 / 1.034 GB, free: 2.141 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003406/0.8741, allocations: 1.896 MB / 1.036 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.8741, allocations: 10.88 kB / 1.036 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002153/0.8743, allocations: 176.4 kB / 1.036 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002626/0.877, allocations: 407.8 kB / 1.037 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.8785, allocations: 0.9197 MB / 1.037 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.737e-05/0.8785, allocations: 98.62 kB / 1.037 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.8787, allocations: 109.2 kB / 1.038 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.8806, allocations: 1.301 MB / 1.039 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.8806, allocations: 0 / 1.039 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.8807, allocations: 52.47 kB / 1.039 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.8807, allocations: 30.53 kB / 1.039 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.8828, allocations: 1.452 MB / 1.04 GB, free: 16.56 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005601/0.8884, allocations: 3.993 MB / 1.044 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.8903, allocations: 1.072 MB / 1.045 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006636/0.891, allocations: 413.7 kB / 1.046 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005673/0.8915, allocations: 124 kB / 1.046 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.8925, allocations: 0.6566 MB / 1.046 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=106): time 2.995e-06/0.8925, allocations: 0 / 1.046 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=106): time 0.003747/0.8963, allocations: 1.545 MB / 1.048 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.8964, allocations: 192.4 kB / 1.048 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.8975, allocations: 0.902 MB / 1.049 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.8976, allocations: 49.92 kB / 1.049 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004828/0.8981, allocations: 0.5317 MB / 1.05 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003491/0.8984, allocations: 369 kB / 1.05 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002944/0.8987, allocations: 201.3 kB / 1.05 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.8989, allocations: 342.6 kB / 1.05 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006812/0.8996, allocations: 365.9 kB / 1.051 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008156/0.9004, allocations: 0.4964 MB / 1.051 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.9019, allocations: 0.8493 MB / 1.052 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.9019, allocations: 3.938 kB / 1.052 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00244/0.9043, allocations: 1.126 MB / 1.053 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.9044, allocations: 6.375 kB / 1.053 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.9044, allocations: 3.406 kB / 1.053 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005948/0.905, allocations: 83.62 kB / 1.053 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008983/0.9059, allocations: 222 kB / 1.054 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.9082, allocations: 1.547 MB / 1.055 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009707/0.9091, allocations: 122.6 kB / 1.055 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-05/0.9092, allocations: 40.7 kB / 1.055 GB, free: 10.19 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006422/0.9099, allocations: 323.5 kB / 1.056 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/0.9101, allocations: 130.8 kB / 1.056 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002956/0.9131, allocations: 1.509 MB / 1.057 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.9131, allocations: 14.47 kB / 1.057 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.9131, allocations: 0 / 1.057 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.9131, allocations: 5.906 kB / 1.057 GB, free: 9.297 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004795/0.9179, allocations: 2.757 MB / 1.06 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.9179, allocations: 2.031 kB / 1.06 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008323/0.9187, allocations: 199.5 kB / 1.06 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004355/0.9192, allocations: 77.06 kB / 1.06 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.342e-05/0.9192, allocations: 33.62 kB / 1.06 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/0.9212, allocations: 1.58 MB / 1.062 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.9212, allocations: 7.25 kB / 1.062 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00348/0.9247, allocations: 1.873 MB / 1.064 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007138/0.9254, allocations: 281.2 kB / 1.064 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000247/0.9257, allocations: 24.47 kB / 1.064 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009198/0.9266, allocations: 75.81 kB / 1.064 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/0.9268, allocations: 95.61 kB / 1.064 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.101e-05/0.9269, allocations: 49.84 kB / 1.064 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000922/0.9278, allocations: 0.6552 MB / 1.065 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.9278, allocations: 0 / 1.065 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001269/0.929, allocations: 459.2 kB / 1.065 GB, free: 4.523 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006116/0.9352, allocations: 3.016 MB / 1.068 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002279/0.9374, allocations: 1.023 MB / 1.069 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.58e-05/0.9375, allocations: 0 / 1.069 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.9387, allocations: 0.6294 MB / 1.07 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/0.9413, allocations: 0.5373 MB / 1.07 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01786/0.9592, allocations: 8.887 MB / 1.079 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001251/0.9605, allocations: 1.165 MB / 1.08 GB, free: 9.59 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001658/0.9621, allocations: 381.8 kB / 1.08 GB, free: 9.215 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009574/0.9631, allocations: 0.5344 MB / 1.081 GB, free: 8.68 MB / 0.7481 GB Notification: Performance of SimCode: time 7.42e-07/0.9631, allocations: 0 / 1.081 GB, free: 8.68 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09579/1.059, allocations: 34.41 MB / 1.114 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/15.43, allocations: 6.375 kB / 1.114 GB, free: 6.68 MB / 0.7794 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.179215715965256] Failed to read output from testmodel.py, exit status != 0: 15.67974192998372 15.703713188 14.828606701 Calling exit ...