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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6871/0.6871, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 183.5 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 221.3 MB / 441.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008971/0.0008971, allocations: 89.97 kB / 0.5124 GB, free: 24.13 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001703/0.001703, allocations: 270.4 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.109e-05/3.112e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3322, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.414/3.746, allocations: 1.867 GB / 2.632 GB, free: 179.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/3.746, allocations: 99.02 kB / 2.632 GB, free: 179 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.009/4.755, allocations: 399 MB / 3.022 GB, free: 49.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.793e-06/4.755, allocations: 0 / 3.022 GB, free: 49.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.988e-05/4.755, allocations: 35.94 kB / 3.022 GB, free: 49.79 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.00228/4.757, allocations: 1.535 MB / 3.023 GB, free: 48.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/4.757, allocations: 12.03 kB / 3.023 GB, free: 48.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001542/4.757, allocations: 165 kB / 3.023 GB, free: 48.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/4.759, allocations: 346 kB / 3.024 GB, free: 47.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/4.761, allocations: 1.115 MB / 3.025 GB, free: 46.53 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.648e-05/4.761, allocations: 86.19 kB / 3.025 GB, free: 46.44 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/4.761, allocations: 115.9 kB / 3.025 GB, free: 46.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/4.763, allocations: 1.18 MB / 3.026 GB, free: 45.08 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/4.763, allocations: 0 / 3.026 GB, free: 45.08 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-05/4.763, allocations: 48 kB / 3.026 GB, free: 45.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/4.763, allocations: 28 kB / 3.026 GB, free: 45.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/4.764, allocations: 1.336 MB / 3.027 GB, free: 43.66 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.004296/4.769, allocations: 3.713 MB / 3.031 GB, free: 39.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/4.77, allocations: 1.111 MB / 3.032 GB, free: 38.67 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004651/4.771, allocations: 406.1 kB / 3.033 GB, free: 38.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005441/4.771, allocations: 429.2 kB / 3.033 GB, free: 37.78 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006657/4.772, allocations: 0.5519 MB / 3.033 GB, free: 37.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=97): time 2.304e-06/4.772, allocations: 0 / 3.033 GB, free: 37.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=97): time 0.001827/4.774, allocations: 0.98 MB / 3.034 GB, free: 36.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/4.774, allocations: 244.1 kB / 3.035 GB, free: 35.92 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007804/4.775, allocations: 0.7859 MB / 3.035 GB, free: 35.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.795e-05/4.775, allocations: 45.7 kB / 3.035 GB, free: 35.06 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/4.775, allocations: 0.5002 MB / 3.036 GB, free: 34.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/4.775, allocations: 327.2 kB / 3.036 GB, free: 34.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/4.775, allocations: 16 kB / 3.036 GB, free: 34.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.331e-05/4.775, allocations: 345.9 kB / 3.037 GB, free: 33.87 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004033/4.776, allocations: 313.9 kB / 3.037 GB, free: 33.56 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004765/4.776, allocations: 463.8 kB / 3.037 GB, free: 33.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000475/4.777, allocations: 387.5 kB / 3.038 GB, free: 32.69 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/4.777, allocations: 0 / 3.038 GB, free: 32.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001586/4.778, allocations: 1.001 MB / 3.039 GB, free: 31.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/4.778, allocations: 12.03 kB / 3.039 GB, free: 31.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/4.778, allocations: 0 / 3.039 GB, free: 31.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005132/4.779, allocations: 88.77 kB / 3.039 GB, free: 31.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007775/4.78, allocations: 203.7 kB / 3.039 GB, free: 31.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/4.781, allocations: 1.529 MB / 3.04 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007221/4.782, allocations: 126.9 kB / 3.041 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.116e-05/4.782, allocations: 43.98 kB / 3.041 GB, free: 29.54 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001629/4.782, allocations: 156.9 kB / 3.041 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/4.782, allocations: 114.7 kB / 3.041 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/4.784, allocations: 1.383 MB / 3.042 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/4.784, allocations: 8 kB / 3.042 GB, free: 27.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/4.784, allocations: 0 / 3.042 GB, free: 27.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/4.784, allocations: 7.938 kB / 3.042 GB, free: 27.85 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003396/4.788, allocations: 2.639 MB / 3.045 GB, free: 25.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/4.788, allocations: 0 / 3.045 GB, free: 25.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007629/4.789, allocations: 199.7 kB / 3.045 GB, free: 24.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004391/4.789, allocations: 88.95 kB / 3.045 GB, free: 24.83 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.895e-05/4.789, allocations: 23.98 kB / 3.045 GB, free: 24.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/4.79, allocations: 1.56 MB / 3.047 GB, free: 23.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/4.791, allocations: 3.938 kB / 3.047 GB, free: 23.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/4.793, allocations: 1.754 MB / 3.048 GB, free: 21.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004363/4.793, allocations: 363.3 kB / 3.049 GB, free: 20.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/4.793, allocations: 23.95 kB / 3.049 GB, free: 20.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007604/4.794, allocations: 87.92 kB / 3.049 GB, free: 20.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/4.794, allocations: 76.91 kB / 3.049 GB, free: 20.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-05/4.794, allocations: 43.97 kB / 3.049 GB, free: 20.67 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006223/4.795, allocations: 0.6332 MB / 3.05 GB, free: 20.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/4.795, allocations: 0 / 3.05 GB, free: 20.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001334/4.796, allocations: 0.5771 MB / 3.05 GB, free: 19.44 MB / 0.698 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004616/4.801, allocations: 4.486 MB / 3.055 GB, free: 14.99 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001319/4.802, allocations: 0.9369 MB / 3.055 GB, free: 14.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/4.802, allocations: 8.062 kB / 3.055 GB, free: 14.04 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007146/4.803, allocations: 0.5938 MB / 3.056 GB, free: 13.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/4.805, allocations: 460.9 kB / 3.056 GB, free: 12.99 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/4.809, allocations: 2.275 MB / 3.059 GB, free: 10.65 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/4.809, allocations: 1.165 MB / 3.06 GB, free: 9.457 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001088/4.81, allocations: 361 kB / 3.06 GB, free: 9.102 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005408/4.811, allocations: 0.4914 MB / 3.061 GB, free: 8.609 MB / 0.698 GB Notification: Performance of SimCode: time 3.91e-07/4.811, allocations: 0 / 3.061 GB, free: 8.609 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3916/5.202, allocations: 56.08 MB / 3.115 GB, free: 139.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001377/5.203, allocations: 227.8 kB / 3.116 GB, free: 138.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.604/8.806, allocations: 0 / 3.116 GB, free: 138.9 MB / 0.698 GB (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/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe 2>&1)