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.0009461/0.0009465, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.004272/0.004272, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.271/1.271, allocations: 223.3 MB / 240.3 MB, free: 5.324 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.18/2.18, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002873/0.0002874, allocations: 15.94 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5156/0.5159, allocations: 142.4 MB / 0.9552 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1509/0.6669, allocations: 149.7 MB / 1.101 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01265/0.6795, allocations: 10.37 MB / 1.112 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004778/0.68, allocations: 19.94 kB / 1.112 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006628/0.6807, allocations: 222.5 kB / 1.112 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001905/0.6826, allocations: 0.7835 MB / 1.113 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.6846, allocations: 0.9473 MB / 1.113 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001429/0.686, allocations: 1.624 MB / 1.115 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.6872, allocations: 1.029 MB / 1.116 GB, free: 9.984 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001581/0.6888, allocations: 0.5264 MB / 1.117 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005491/0.6894, allocations: 0.4897 MB / 1.117 GB, free: 8.973 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.377e-05/0.6895, allocations: 32 kB / 1.117 GB, free: 8.941 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.6909, allocations: 0.9321 MB / 1.118 GB, free: 8.008 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002403/0.6912, allocations: 262.8 kB / 1.118 GB, free: 7.75 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004574/0.6916, allocations: 0.5568 MB / 1.119 GB, free: 7.184 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001944/0.6936, allocations: 2.06 MB / 1.121 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.6936, allocations: 0 / 1.121 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6936, allocations: 0 / 1.121 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.6936, allocations: 8 kB / 1.121 GB, free: 5.109 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.002557/0.6962, allocations: 1.458 MB / 1.122 GB, free: 3.598 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.6962, allocations: 16.02 kB / 1.122 GB, free: 3.582 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/0.6964, allocations: 148.1 kB / 1.122 GB, free: 3.43 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/0.698, allocations: 278.1 kB / 1.123 GB, free: 3.156 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.6993, allocations: 1.062 MB / 1.124 GB, free: 2.051 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.658e-05/0.6994, allocations: 70 kB / 1.124 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.6996, allocations: 100 kB / 1.124 GB, free: 1.883 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/0.7015, allocations: 1.114 MB / 1.125 GB, free: 0.7305 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.7015, allocations: 4 kB / 1.125 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.7016, allocations: 40 kB / 1.125 GB, free: 0.6875 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.7017, allocations: 24 kB / 1.125 GB, free: 0.6641 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/0.704, allocations: 1.346 MB / 1.126 GB, free: 15.31 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.004943/0.7089, allocations: 3.309 MB / 1.13 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/0.711, allocations: 1.118 MB / 1.131 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008132/0.7118, allocations: 436.6 kB / 1.131 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002212/0.712, allocations: 134 kB / 1.131 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.7132, allocations: 0.6333 MB / 1.132 GB, free: 9.523 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=95): time 2.204e-06/0.7132, allocations: 0 / 1.132 GB, free: 9.523 MB / 0.8887 GB Notification: Performance of matching and sorting (n=95): time 0.00419/0.7174, allocations: 1.663 MB / 1.133 GB, free: 7.809 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.7175, allocations: 196.8 kB / 1.134 GB, free: 7.574 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.7187, allocations: 1.025 MB / 1.135 GB, free: 6.543 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.281e-05/0.7188, allocations: 49.7 kB / 1.135 GB, free: 6.488 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003488/0.7191, allocations: 468.5 kB / 1.135 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002356/0.7194, allocations: 307.5 kB / 1.135 GB, free: 5.719 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.7195, allocations: 73.61 kB / 1.135 GB, free: 5.641 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.7196, allocations: 341.9 kB / 1.136 GB, free: 5.301 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007355/0.7204, allocations: 341.8 kB / 1.136 GB, free: 4.965 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000854/0.7212, allocations: 485 kB / 1.137 GB, free: 4.457 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.7228, allocations: 0.7843 MB / 1.137 GB, free: 3.664 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.7228, allocations: 0 / 1.137 GB, free: 3.664 MB / 0.8887 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002474/0.7253, allocations: 1.064 MB / 1.138 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.7253, allocations: 4 kB / 1.138 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.7254, allocations: 0 / 1.138 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000741/0.7261, allocations: 113.7 kB / 1.138 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009097/0.727, allocations: 203.7 kB / 1.139 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002895/0.7299, allocations: 2.849 MB / 1.141 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008543/0.7308, allocations: 127.3 kB / 1.142 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.955e-05/0.7309, allocations: 31.98 kB / 1.142 GB, free: 14.98 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.0004397/0.7313, allocations: 317.7 kB / 1.142 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.7315, allocations: 98.78 kB / 1.142 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003064/0.7346, allocations: 1.345 MB / 1.143 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.7346, allocations: 12 kB / 1.143 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.7346, allocations: 0 / 1.143 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.7346, allocations: 3.984 kB / 1.143 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004093/0.7387, allocations: 2.465 MB / 1.146 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.7387, allocations: 3.938 kB / 1.146 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008416/0.7396, allocations: 199.8 kB / 1.146 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006304/0.7402, allocations: 113.6 kB / 1.146 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.159e-05/0.7403, allocations: 27.98 kB / 1.146 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002736/0.743, allocations: 2.891 MB / 1.149 GB, free: 7.152 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.7431, allocations: 80 / 1.149 GB, free: 7.152 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.7455, allocations: 1.246 MB / 1.15 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004216/0.746, allocations: 339.3 kB / 1.15 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.7461, allocations: 20 kB / 1.15 GB, free: 5.512 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009108/0.747, allocations: 109.7 kB / 1.151 GB, free: 5.406 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.7472, allocations: 88.75 kB / 1.151 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.882e-05/0.7473, allocations: 43.97 kB / 1.151 GB, free: 5.277 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008403/0.7481, allocations: 0.7489 MB / 1.151 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7481, allocations: 0 / 1.151 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001013/0.7492, allocations: 447.1 kB / 1.152 GB, free: 4.098 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.00428/0.7534, allocations: 2.416 MB / 1.154 GB, free: 1.836 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002099/0.7556, allocations: 1.123 MB / 1.155 GB, free: 0.6914 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.7556, allocations: 7.938 kB / 1.155 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/0.7568, allocations: 0.7527 MB / 1.156 GB, free: 15.91 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.7583, allocations: 308.6 kB / 1.156 GB, free: 15.61 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/0.7742, allocations: 9.361 MB / 1.165 GB, free: 6 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000672/0.7748, allocations: 1.11 MB / 1.167 GB, free: 4.852 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009993/0.7758, allocations: 311.7 kB / 1.167 GB, free: 4.543 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000633/0.7765, allocations: 467.2 kB / 1.167 GB, free: 4.09 MB / 0.92 GB Notification: Performance of SimCode: time 3.31e-07/0.7765, allocations: 0 / 1.167 GB, free: 4.09 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1748/0.9513, allocations: 26.21 MB / 1.193 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/0.9516, allocations: 298.7 kB / 1.193 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.638/3.589, allocations: 3.938 kB / 1.193 GB, free: 9.891 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)