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.00107/0.00107, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.000991/0.000991, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.296/1.296, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.287/2.287, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 71.89 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5662/0.5675, allocations: 140.4 MB / 0.9492 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1444/0.712, allocations: 151.9 MB / 1.098 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01278/0.7248, allocations: 10.37 MB / 1.108 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007298/0.7255, allocations: 19.88 kB / 1.108 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008868/0.7265, allocations: 226.4 kB / 1.108 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002504/0.729, allocations: 0.8307 MB / 1.109 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002305/0.7313, allocations: 0.9751 MB / 1.11 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001775/0.7331, allocations: 1.632 MB / 1.111 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/0.7348, allocations: 1.185 MB / 1.112 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002108/0.7369, allocations: 0.6992 MB / 1.113 GB, free: 9.637 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000857/0.7378, allocations: 0.6146 MB / 1.114 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002805/0.7381, allocations: 136 kB / 1.114 GB, free: 8.887 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.7397, allocations: 1.014 MB / 1.115 GB, free: 7.871 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003852/0.7401, allocations: 390.8 kB / 1.115 GB, free: 7.488 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006883/0.7408, allocations: 0.6607 MB / 1.116 GB, free: 6.824 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002253/0.7431, allocations: 2.185 MB / 1.118 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.7431, allocations: 4 kB / 1.118 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7431, allocations: 0 / 1.118 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.654e-05/0.7431, allocations: 0 / 1.118 GB, free: 4.629 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.002692/0.7458, allocations: 1.718 MB / 1.12 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.7459, allocations: 8.031 kB / 1.12 GB, free: 2.844 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001648/0.746, allocations: 160 kB / 1.12 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/0.7476, allocations: 262.1 kB / 1.12 GB, free: 2.422 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.7488, allocations: 1.054 MB / 1.121 GB, free: 1.324 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.344e-05/0.7489, allocations: 70 kB / 1.121 GB, free: 1.258 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.749, allocations: 99.94 kB / 1.121 GB, free: 1.16 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.7508, allocations: 1.106 MB / 1.122 GB, free: 12 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.7508, allocations: 4 kB / 1.122 GB, free: 8 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.7509, allocations: 40.08 kB / 1.122 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.7509, allocations: 28 kB / 1.122 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.753, allocations: 1.315 MB / 1.124 GB, free: 14.62 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.004484/0.7575, allocations: 3.279 MB / 1.127 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/0.7593, allocations: 1.098 MB / 1.128 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007226/0.7601, allocations: 432.1 kB / 1.128 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002231/0.7603, allocations: 138 kB / 1.128 GB, free: 9.535 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/0.7613, allocations: 0.6255 MB / 1.129 GB, free: 8.891 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=95): time 2.194e-06/0.7613, allocations: 3.938 kB / 1.129 GB, free: 8.887 MB / 0.8887 GB Notification: Performance of matching and sorting (n=95): time 0.003881/0.7652, allocations: 1.631 MB / 1.131 GB, free: 7.207 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.706e-05/0.7653, allocations: 192.9 kB / 1.131 GB, free: 6.973 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.7664, allocations: 1.021 MB / 1.132 GB, free: 5.945 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.01e-05/0.7665, allocations: 49.7 kB / 1.132 GB, free: 5.891 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/0.7668, allocations: 480.4 kB / 1.132 GB, free: 5.414 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/0.767, allocations: 295.7 kB / 1.133 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002567/0.7673, allocations: 178.5 kB / 1.133 GB, free: 4.941 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.7674, allocations: 334 kB / 1.133 GB, free: 4.609 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006603/0.7681, allocations: 333.8 kB / 1.133 GB, free: 4.285 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007616/0.7688, allocations: 473.1 kB / 1.134 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.7702, allocations: 0.7608 MB / 1.135 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.7702, allocations: 0 / 1.135 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002277/0.7725, allocations: 1.044 MB / 1.136 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.7725, allocations: 8 kB / 1.136 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.7725, allocations: 0 / 1.136 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007083/0.7732, allocations: 117.6 kB / 1.136 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008503/0.7741, allocations: 199.7 kB / 1.136 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002838/0.777, allocations: 3.068 MB / 1.139 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007624/0.7777, allocations: 113.7 kB / 1.139 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.069e-05/0.7778, allocations: 39.97 kB / 1.139 GB, free: 14.13 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.0003963/0.7782, allocations: 318.4 kB / 1.139 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.7784, allocations: 98.78 kB / 1.14 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002834/0.7812, allocations: 1.326 MB / 1.141 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.7813, allocations: 8 kB / 1.141 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.7813, allocations: 0 / 1.141 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.7813, allocations: 7.984 kB / 1.141 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00394/0.7852, allocations: 2.449 MB / 1.143 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.7852, allocations: 4 kB / 1.143 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008206/0.7861, allocations: 191.7 kB / 1.143 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005605/0.7866, allocations: 109.5 kB / 1.144 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.912e-05/0.7867, allocations: 31.97 kB / 1.144 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002753/0.7895, allocations: 3.084 MB / 1.147 GB, free: 6.129 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.7895, allocations: 4 kB / 1.147 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002515/0.792, allocations: 1.235 MB / 1.148 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000436/0.7925, allocations: 315.5 kB / 1.148 GB, free: 4.539 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.7927, allocations: 23.98 kB / 1.148 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000868/0.7935, allocations: 89.55 kB / 1.148 GB, free: 4.43 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.7937, allocations: 88.75 kB / 1.148 GB, free: 4.344 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.87e-05/0.7938, allocations: 43.97 kB / 1.148 GB, free: 4.301 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009052/0.7947, allocations: 0.7489 MB / 1.149 GB, free: 3.555 MB / 0.9044 GB Notification: Performance of sort global known variables: time 6.01e-07/0.7947, allocations: 0 / 1.149 GB, free: 3.555 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001134/0.7959, allocations: 431.2 kB / 1.149 GB, free: 3.133 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.004372/0.8003, allocations: 2.397 MB / 1.152 GB, free: 0.8984 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002915/0.8032, allocations: 1.357 MB / 1.153 GB, free: 15.51 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.8032, allocations: 0 / 1.153 GB, free: 15.51 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.8044, allocations: 0.741 MB / 1.154 GB, free: 14.75 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.8059, allocations: 344.2 kB / 1.154 GB, free: 14.43 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01559/0.8215, allocations: 9.229 MB / 1.163 GB, free: 4.945 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006416/0.8221, allocations: 1.107 MB / 1.164 GB, free: 3.805 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001031/0.8232, allocations: 311.9 kB / 1.165 GB, free: 3.496 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006357/0.8238, allocations: 475.2 kB / 1.165 GB, free: 3.035 MB / 0.92 GB Notification: Performance of SimCode: time 6.32e-07/0.8238, allocations: 0 / 1.165 GB, free: 3.035 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5463/1.37, allocations: 27.32 MB / 1.192 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002918/1.37, allocations: 299 kB / 1.192 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.549/3.92, allocations: 8 kB / 1.192 GB, free: 7.707 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)