Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",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.001323/0.001323, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001349/0.001349, allocations: 192.3 kB / 16.13 MB, free: 6.703 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.294/1.294, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.191/2.191, allocations: 390.2 MB / 0.6643 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001284, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4929/0.4942, allocations: 140.4 MB / 0.949 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1363/0.6305, allocations: 151.7 MB / 1.097 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01202/0.6426, allocations: 10.54 MB / 1.108 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007074/0.6433, allocations: 19.88 kB / 1.108 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007194/0.6441, allocations: 222.5 kB / 1.108 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002244/0.6463, allocations: 0.7796 MB / 1.108 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002041/0.6484, allocations: 0.9465 MB / 1.109 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001342/0.6497, allocations: 1.624 MB / 1.111 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.6509, allocations: 1.094 MB / 1.112 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.6525, allocations: 0.6077 MB / 1.113 GB, free: 9.949 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005424/0.653, allocations: 0.5793 MB / 1.113 GB, free: 9.367 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.6532, allocations: 64 kB / 1.113 GB, free: 9.305 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.6547, allocations: 0.9633 MB / 1.114 GB, free: 8.34 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002539/0.655, allocations: 318.8 kB / 1.115 GB, free: 8.027 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004694/0.6555, allocations: 0.5903 MB / 1.115 GB, free: 7.434 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001888/0.6574, allocations: 2.119 MB / 1.117 GB, free: 5.309 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6574, allocations: 4 kB / 1.117 GB, free: 5.305 MB / 0.8731 GB Notification: Performance of FrontEnd: time 7.61e-07/0.6574, allocations: 3.938 kB / 1.117 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.6574, allocations: 0 / 1.117 GB, free: 5.301 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002739/0.6601, allocations: 1.718 MB / 1.119 GB, free: 3.523 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.6602, allocations: 12.02 kB / 1.119 GB, free: 3.512 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001606/0.6604, allocations: 152.1 kB / 1.119 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/0.6619, allocations: 270.1 kB / 1.119 GB, free: 3.09 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.6631, allocations: 1.05 MB / 1.12 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.606e-05/0.6632, allocations: 77.94 kB / 1.12 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.6633, allocations: 96 kB / 1.12 GB, free: 1.828 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.6651, allocations: 1.11 MB / 1.122 GB, free: 0.6758 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.6651, allocations: 0 / 1.122 GB, free: 0.6758 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.61e-05/0.6652, allocations: 44 kB / 1.122 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.6652, allocations: 24 kB / 1.122 GB, free: 0.6094 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/0.6673, allocations: 1.323 MB / 1.123 GB, free: 15.29 MB / 0.8887 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.004448/0.6718, allocations: 3.275 MB / 1.126 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/0.6736, allocations: 1.098 MB / 1.127 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007234/0.6743, allocations: 425 kB / 1.128 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002171/0.6745, allocations: 134 kB / 1.128 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.6756, allocations: 0.6216 MB / 1.128 GB, free: 9.57 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=95): time 3.387e-06/0.6756, allocations: 0 / 1.128 GB, free: 9.57 MB / 0.8887 GB Notification: Performance of matching and sorting (n=95): time 0.003909/0.6795, allocations: 1.631 MB / 1.13 GB, free: 7.891 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.237e-05/0.6796, allocations: 200.8 kB / 1.13 GB, free: 7.648 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.6806, allocations: 1.025 MB / 1.131 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.737e-05/0.6807, allocations: 45.7 kB / 1.131 GB, free: 6.566 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/0.681, allocations: 472.4 kB / 1.132 GB, free: 6.098 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000207/0.6813, allocations: 303.6 kB / 1.132 GB, free: 5.797 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/0.6815, allocations: 178.4 kB / 1.132 GB, free: 5.617 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.6816, allocations: 341.9 kB / 1.132 GB, free: 5.277 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000663/0.6823, allocations: 337.8 kB / 1.133 GB, free: 4.949 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007679/0.6831, allocations: 469.1 kB / 1.133 GB, free: 4.453 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.6844, allocations: 0.7687 MB / 1.134 GB, free: 3.676 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6844, allocations: 0 / 1.134 GB, free: 3.676 MB / 0.8887 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002275/0.6867, allocations: 1.033 MB / 1.135 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.6868, allocations: 8 kB / 1.135 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.6868, allocations: 0 / 1.135 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007045/0.6875, allocations: 121.7 kB / 1.135 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008379/0.6883, allocations: 195.7 kB / 1.135 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002631/0.691, allocations: 2.852 MB / 1.138 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007864/0.6918, allocations: 115.3 kB / 1.138 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-05/0.6918, allocations: 31.98 kB / 1.138 GB, free: 15.03 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004156/0.6923, allocations: 313.5 kB / 1.138 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.6925, allocations: 98.78 kB / 1.139 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002819/0.6953, allocations: 1.326 MB / 1.14 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.6953, allocations: 12 kB / 1.14 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.6953, allocations: 0 / 1.14 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.6953, allocations: 7.984 kB / 1.14 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003802/0.6991, allocations: 2.442 MB / 1.142 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.6992, allocations: 0 / 1.142 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008029/0.7, allocations: 195.7 kB / 1.142 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006208/0.7006, allocations: 113.6 kB / 1.143 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.168e-05/0.7007, allocations: 23.98 kB / 1.143 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002523/0.7032, allocations: 2.891 MB / 1.145 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7032, allocations: 0 / 1.145 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002383/0.7056, allocations: 1.235 MB / 1.147 GB, free: 5.996 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000394/0.706, allocations: 323.4 kB / 1.147 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.7061, allocations: 16 kB / 1.147 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008273/0.707, allocations: 89.45 kB / 1.147 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.7072, allocations: 84.81 kB / 1.147 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.822e-05/0.7072, allocations: 43.97 kB / 1.147 GB, free: 5.434 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007977/0.708, allocations: 0.7489 MB / 1.148 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7081, allocations: 0 / 1.148 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001038/0.7091, allocations: 439.1 kB / 1.148 GB, free: 4.258 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004061/0.7132, allocations: 2.409 MB / 1.151 GB, free: 2.012 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001957/0.7151, allocations: 1.107 MB / 1.152 GB, free: 0.8789 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7152, allocations: 3.938 kB / 1.152 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.7163, allocations: 0.741 MB / 1.152 GB, free: 112 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.7176, allocations: 317.8 kB / 1.153 GB, free: 15.8 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01485/0.7325, allocations: 9.235 MB / 1.162 GB, free: 6.312 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006133/0.7331, allocations: 1.099 MB / 1.163 GB, free: 5.18 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001017/0.7341, allocations: 319.7 kB / 1.163 GB, free: 4.863 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000604/0.7347, allocations: 467.2 kB / 1.164 GB, free: 4.41 MB / 0.92 GB Notification: Performance of SimCode: time 3.6e-07/0.7347, allocations: 0 / 1.164 GB, free: 4.41 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.761/2.495, allocations: 26.62 MB / 1.19 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/2.496, allocations: 300.7 kB / 1.19 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.271/5.767, allocations: 4 kB / 1.19 GB, free: 9.777 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)