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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00112/0.00112, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 192.9 kB / 16.53 MB, free: 6.664 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.277/2.277, allocations: 390.3 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 71.89 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6496/0.6509, allocations: 140.4 MB / 0.9497 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.173/0.824, allocations: 154 MB / 1.1 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01382/0.8379, allocations: 10.49 MB / 1.11 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007618/0.8386, allocations: 19.88 kB / 1.11 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007884/0.8394, allocations: 269.8 kB / 1.111 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002441/0.842, allocations: 0.9274 MB / 1.112 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002418/0.8444, allocations: 1.068 MB / 1.113 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001593/0.846, allocations: 1.632 MB / 1.114 GB, free: 8.852 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001647/0.8476, allocations: 1.184 MB / 1.115 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00162/0.8493, allocations: 0.694 MB / 1.116 GB, free: 6.953 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006552/0.8499, allocations: 0.6046 MB / 1.117 GB, free: 6.348 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001833/0.8501, allocations: 132 kB / 1.117 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.8519, allocations: 0.9987 MB / 1.118 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003319/0.8522, allocations: 386.8 kB / 1.118 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00058/0.8528, allocations: 0.6646 MB / 1.119 GB, free: 4.172 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002283/0.8551, allocations: 2.158 MB / 1.121 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8551, allocations: 0 / 1.121 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8551, allocations: 0 / 1.121 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.463e-05/0.8551, allocations: 0 / 1.121 GB, free: 2.008 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.00289/0.858, allocations: 1.726 MB / 1.123 GB, free: 228 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.8581, allocations: 8.031 kB / 1.123 GB, free: 220 kB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001744/0.8582, allocations: 156 kB / 1.123 GB, free: 56 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/0.8599, allocations: 270.1 kB / 1.123 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.8611, allocations: 1.062 MB / 1.124 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.758e-05/0.8612, allocations: 70 kB / 1.124 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.8613, allocations: 92 kB / 1.124 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.8631, allocations: 1.11 MB / 1.125 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.8632, allocations: 0 / 1.125 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.953e-05/0.8633, allocations: 40 kB / 1.125 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.8633, allocations: 35.92 kB / 1.125 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002146/0.8654, allocations: 1.315 MB / 1.127 GB, free: 11.98 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.004756/0.8702, allocations: 3.278 MB / 1.13 GB, free: 8.59 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001982/0.8722, allocations: 1.102 MB / 1.131 GB, free: 7.465 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007454/0.873, allocations: 432.3 kB / 1.131 GB, free: 7.043 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002245/0.8732, allocations: 134 kB / 1.131 GB, free: 6.895 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/0.8742, allocations: 0.6216 MB / 1.132 GB, free: 6.25 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=95): time 2.254e-06/0.8743, allocations: 4 kB / 1.132 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of matching and sorting (n=95): time 0.004051/0.8783, allocations: 1.623 MB / 1.134 GB, free: 4.578 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.589e-05/0.8784, allocations: 204.8 kB / 1.134 GB, free: 4.332 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.8796, allocations: 1.017 MB / 1.135 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.737e-05/0.8796, allocations: 49.7 kB / 1.135 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003431/0.88, allocations: 476.4 kB / 1.135 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.8802, allocations: 303.7 kB / 1.136 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.8805, allocations: 174.5 kB / 1.136 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.8806, allocations: 337.9 kB / 1.136 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006938/0.8813, allocations: 333.8 kB / 1.136 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000812/0.8821, allocations: 477.1 kB / 1.137 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/0.8836, allocations: 0.7648 MB / 1.138 GB, free: 376 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.8836, allocations: 0 / 1.138 GB, free: 376 kB / 0.8887 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002415/0.886, allocations: 1.041 MB / 1.139 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.8861, allocations: 4 kB / 1.139 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.8861, allocations: 4 kB / 1.139 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007403/0.8868, allocations: 113.7 kB / 1.139 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008753/0.8877, allocations: 203.7 kB / 1.139 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003004/0.8907, allocations: 3.06 MB / 1.142 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008258/0.8916, allocations: 107.2 kB / 1.142 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.791e-05/0.8916, allocations: 39.91 kB / 1.142 GB, free: 11.49 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.0005217/0.8922, allocations: 313.6 kB / 1.142 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.8924, allocations: 98.78 kB / 1.142 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002999/0.8954, allocations: 1.334 MB / 1.144 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.8954, allocations: 8 kB / 1.144 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.8954, allocations: 4 kB / 1.144 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.8954, allocations: 3.984 kB / 1.144 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004268/0.8997, allocations: 2.446 MB / 1.146 GB, free: 7.207 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.8997, allocations: 4 kB / 1.146 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008366/0.9006, allocations: 183.8 kB / 1.146 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005744/0.9012, allocations: 113.5 kB / 1.146 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.512e-05/0.9012, allocations: 27.97 kB / 1.146 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002861/0.9041, allocations: 3.088 MB / 1.149 GB, free: 3.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.9041, allocations: 0 / 1.149 GB, free: 3.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002582/0.9067, allocations: 1.235 MB / 1.151 GB, free: 2.242 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004698/0.9072, allocations: 315.5 kB / 1.151 GB, free: 1.914 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.9074, allocations: 27.98 kB / 1.151 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008817/0.9083, allocations: 72.61 kB / 1.151 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.9085, allocations: 92.81 kB / 1.151 GB, free: 1.727 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.834e-05/0.9086, allocations: 43.97 kB / 1.151 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009047/0.9095, allocations: 0.745 MB / 1.152 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9095, allocations: 0 / 1.152 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00115/0.9106, allocations: 447 kB / 1.152 GB, free: 0.5039 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.004491/0.9151, allocations: 2.395 MB / 1.155 GB, free: 14.27 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003125/0.9183, allocations: 1.357 MB / 1.156 GB, free: 12.89 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9183, allocations: 0 / 1.156 GB, free: 12.89 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.9196, allocations: 0.741 MB / 1.157 GB, free: 12.12 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.9211, allocations: 356.6 kB / 1.157 GB, free: 11.8 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/0.9359, allocations: 8.795 MB / 1.166 GB, free: 2.746 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008237/0.9367, allocations: 1.107 MB / 1.167 GB, free: 1.605 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001088/0.9378, allocations: 315.8 kB / 1.167 GB, free: 1.293 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006204/0.9385, allocations: 471.2 kB / 1.167 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of SimCode: time 2.51e-07/0.9385, allocations: 0 / 1.167 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08217/1.021, allocations: 27.57 MB / 1.194 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/13.3, allocations: 21.81 kB / 1.194 GB, free: 5.594 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)