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.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008635/0.0008635, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005008/0.005008, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.199/1.199, allocations: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001628/0.001628, allocations: 282.8 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8477/0.8477, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003718, allocations: 15.47 kB / 0.5988 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1316, allocations: 88.55 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.4177/0.5494, allocations: 171.4 MB / 0.8526 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01249/0.5619, allocations: 10.72 MB / 0.8631 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009873/0.5629, allocations: 28.47 kB / 0.8631 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008633/0.5638, allocations: 321.7 kB / 0.8634 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002212/0.566, allocations: 0.9533 MB / 0.8644 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003276/0.5693, allocations: 1.518 MB / 0.8658 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002092/0.5714, allocations: 2.584 MB / 0.8684 GB, free: 392 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.5728, allocations: 1.242 MB / 0.8696 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002654/0.5755, allocations: 1.026 MB / 0.8706 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006587/0.5762, allocations: 0.6754 MB / 0.8712 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.373e-05/0.5763, allocations: 43.31 kB / 0.8713 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/0.5783, allocations: 1.426 MB / 0.8727 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002534/0.5785, allocations: 325.2 kB / 0.873 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004899/0.579, allocations: 0.6452 MB / 0.8736 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002155/0.5812, allocations: 2.448 MB / 0.876 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.5812, allocations: 0 / 0.876 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.163e-06/0.5812, allocations: 0 / 0.876 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.5812, allocations: 0 / 0.876 GB, free: 11.53 MB / 0.5919 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.002483/0.5837, allocations: 1.585 MB / 0.8775 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.5838, allocations: 11.88 kB / 0.8776 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001952/0.584, allocations: 179 kB / 0.8777 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/0.5858, allocations: 362.5 kB / 0.8781 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.587, allocations: 0.9565 MB / 0.879 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.548e-05/0.5871, allocations: 89.89 kB / 0.8791 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.5873, allocations: 117.3 kB / 0.8792 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.5893, allocations: 1.309 MB / 0.8805 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.5893, allocations: 0 / 0.8805 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.5894, allocations: 52 kB / 0.8805 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.5894, allocations: 28 kB / 0.8806 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002196/0.5916, allocations: 1.453 MB / 0.882 GB, free: 6.273 MB / 0.5919 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.005274/0.5969, allocations: 3.903 MB / 0.8858 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/0.5989, allocations: 1.226 MB / 0.887 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007229/0.5997, allocations: 456.4 kB / 0.8874 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006664/0.6003, allocations: 441.2 kB / 0.8878 GB, free: 16 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.6014, allocations: 0.676 MB / 0.8885 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=106): time 2.064e-06/0.6014, allocations: 0 / 0.8885 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=106): time 0.003604/0.605, allocations: 1.614 MB / 0.8901 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.044e-05/0.6051, allocations: 204.9 kB / 0.8903 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.6061, allocations: 0.8712 MB / 0.8911 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.004e-05/0.6062, allocations: 45.7 kB / 0.8912 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.6066, allocations: 0.5237 MB / 0.8917 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.6068, allocations: 354.9 kB / 0.892 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.607, allocations: 81.67 kB / 0.8921 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.6071, allocations: 345.9 kB / 0.8924 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006671/0.6078, allocations: 365.8 kB / 0.8928 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007817/0.6085, allocations: 0.5049 MB / 0.8933 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.61, allocations: 0.8523 MB / 0.8941 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.61, allocations: 0 / 0.8941 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002198/0.6122, allocations: 1.126 MB / 0.8952 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.6122, allocations: 4 kB / 0.8952 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.6122, allocations: 4.078 kB / 0.8952 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005482/0.6128, allocations: 84.86 kB / 0.8953 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000876/0.6137, allocations: 223.7 kB / 0.8955 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/0.6155, allocations: 1.544 MB / 0.897 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008345/0.6163, allocations: 146.6 kB / 0.8972 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.768e-05/0.6164, allocations: 39.98 kB / 0.8972 GB, free: 6.094 MB / 0.6075 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.0004284/0.6169, allocations: 322.1 kB / 0.8975 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.617, allocations: 126.5 kB / 0.8976 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002856/0.6199, allocations: 1.513 MB / 0.8991 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/0.6199, allocations: 16 kB / 0.8991 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.6199, allocations: 0 / 0.8991 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.6199, allocations: 3.984 kB / 0.8991 GB, free: 4.094 MB / 0.6075 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.004161/0.6241, allocations: 2.85 MB / 0.9019 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6241, allocations: 0 / 0.9019 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008191/0.6249, allocations: 203.7 kB / 0.9021 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004912/0.6254, allocations: 92.94 kB / 0.9022 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.551e-05/0.6255, allocations: 31.98 kB / 0.9022 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/0.6272, allocations: 1.567 MB / 0.9037 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.6272, allocations: 3.938 kB / 0.9037 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003126/0.6303, allocations: 1.876 MB / 0.9056 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004229/0.6308, allocations: 359.1 kB / 0.9059 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.6309, allocations: 31.92 kB / 0.906 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008844/0.6318, allocations: 101.2 kB / 0.906 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.632, allocations: 84.88 kB / 0.9061 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.273e-05/0.632, allocations: 51.97 kB / 0.9062 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007477/0.6328, allocations: 0.6261 MB / 0.9068 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6328, allocations: 0 / 0.9068 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009894/0.6338, allocations: 443 kB / 0.9072 GB, free: 11.48 MB / 0.6231 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.004709/0.6385, allocations: 3.034 MB / 0.9102 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001834/0.6404, allocations: 1.073 MB / 0.9112 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.6404, allocations: 4 kB / 0.9112 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.6414, allocations: 0.6607 MB / 0.9119 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/0.6436, allocations: 491 kB / 0.9123 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/0.659, allocations: 10.02 MB / 0.9221 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006637/0.6596, allocations: 1.17 MB / 0.9233 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001163/0.6608, allocations: 365.7 kB / 0.9236 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006778/0.6615, allocations: 0.5266 MB / 0.9241 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of SimCode: time 5.21e-07/0.6615, allocations: 0 / 0.9241 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.452/2.114, allocations: 30.98 MB / 0.9544 GB, free: 11.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/2.114, allocations: 278.7 kB / 0.9547 GB, free: 11.02 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.678/4.792, allocations: 0 / 0.9547 GB, free: 11.02 MB / 0.67 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/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)