Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_10_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.001439/0.001439, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001664/0.001664, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.332/1.332, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.462/2.462, allocations: 437 MB / 0.7101 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 71.89 kB / 0.8689 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5417/0.5436, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1458/0.6894, allocations: 152.4 MB / 1.166 GB, free: 9.805 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01204/0.7015, allocations: 10.41 MB / 1.176 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006551/0.7022, allocations: 19.88 kB / 1.176 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007659/0.703, allocations: 234.4 kB / 1.176 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002242/0.7052, allocations: 0.8731 MB / 1.177 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002114/0.7074, allocations: 0.9708 MB / 1.178 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001715/0.7091, allocations: 1.725 MB / 1.18 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.7107, allocations: 1.142 MB / 1.181 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002471/0.7132, allocations: 0.724 MB / 1.181 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008011/0.714, allocations: 0.6224 MB / 1.182 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001826/0.7142, allocations: 135.9 kB / 1.182 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001866/0.7161, allocations: 1.014 MB / 1.183 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002974/0.7164, allocations: 378.9 kB / 1.184 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005832/0.717, allocations: 0.6879 MB / 1.184 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.7192, allocations: 2.208 MB / 1.186 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7192, allocations: 3.938 kB / 1.186 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7192, allocations: 0 / 1.186 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.7193, allocations: 0 / 1.186 GB, free: 4.602 MB / 0.9356 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.002777/0.722, allocations: 1.734 MB / 1.188 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.7221, allocations: 12.03 kB / 1.188 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001705/0.7223, allocations: 148.1 kB / 1.188 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/0.7239, allocations: 270.1 kB / 1.188 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.7251, allocations: 1.062 MB / 1.189 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.651e-05/0.7252, allocations: 74 kB / 1.19 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.7253, allocations: 92 kB / 1.19 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.7271, allocations: 1.106 MB / 1.191 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.7272, allocations: 4 kB / 1.191 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.824e-05/0.7273, allocations: 44 kB / 1.191 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.7273, allocations: 24 kB / 1.191 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.7294, allocations: 1.315 MB / 1.192 GB, free: 14.59 MB / 0.9512 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.004699/0.7341, allocations: 3.493 MB / 1.195 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.7359, allocations: 1.106 MB / 1.197 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007219/0.7367, allocations: 422.8 kB / 1.197 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002287/0.7369, allocations: 138 kB / 1.197 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/0.738, allocations: 0.6254 MB / 1.198 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=95): time 2.454e-06/0.738, allocations: 4 kB / 1.198 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of matching and sorting (n=95): time 0.00405/0.7421, allocations: 1.627 MB / 1.199 GB, free: 6.91 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.911e-05/0.7422, allocations: 196.9 kB / 1.2 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.7432, allocations: 1.021 MB / 1.2 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.265e-05/0.7433, allocations: 49.7 kB / 1.201 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/0.7437, allocations: 472.5 kB / 1.201 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.7439, allocations: 307.5 kB / 1.201 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002632/0.7442, allocations: 170.5 kB / 1.201 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.7443, allocations: 337.9 kB / 1.202 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006681/0.7449, allocations: 329.8 kB / 1.202 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007861/0.7457, allocations: 477 kB / 1.203 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.7472, allocations: 0.7609 MB / 1.203 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.7472, allocations: 0 / 1.203 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002336/0.7495, allocations: 1.041 MB / 1.204 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.7496, allocations: 9.875 kB / 1.204 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.7496, allocations: 0 / 1.204 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007491/0.7503, allocations: 121.5 kB / 1.204 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009048/0.7513, allocations: 199.7 kB / 1.205 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002925/0.7542, allocations: 3.07 MB / 1.208 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008518/0.7551, allocations: 112.6 kB / 1.208 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-05/0.7551, allocations: 40.03 kB / 1.208 GB, free: 13.82 MB / 0.9669 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.000453/0.7556, allocations: 317.5 kB / 1.208 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.7558, allocations: 98.78 kB / 1.208 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002923/0.7587, allocations: 1.318 MB / 1.209 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.7587, allocations: 12 kB / 1.209 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.7588, allocations: 0 / 1.209 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.7588, allocations: 3.984 kB / 1.209 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00392/0.7627, allocations: 2.453 MB / 1.212 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.7627, allocations: 0 / 1.212 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008388/0.7636, allocations: 183.8 kB / 1.212 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005742/0.7641, allocations: 113.5 kB / 1.212 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-05/0.7642, allocations: 23.98 kB / 1.212 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002767/0.767, allocations: 3.097 MB / 1.215 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.767, allocations: 0 / 1.215 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/0.7695, allocations: 1.239 MB / 1.216 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004303/0.77, allocations: 323.3 kB / 1.217 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.7701, allocations: 27.98 kB / 1.217 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000907/0.7711, allocations: 83.91 kB / 1.217 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.7712, allocations: 84.83 kB / 1.217 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.7714, allocations: 43.97 kB / 1.217 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008856/0.7722, allocations: 0.745 MB / 1.218 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7723, allocations: 0 / 1.218 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00119/0.7735, allocations: 463 kB / 1.218 GB, free: 2.812 MB / 0.9669 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.004505/0.778, allocations: 2.396 MB / 1.22 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003073/0.781, allocations: 1.361 MB / 1.222 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.7811, allocations: 0 / 1.222 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.7823, allocations: 0.7411 MB / 1.222 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.7838, allocations: 369 kB / 1.223 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01638/0.8002, allocations: 9.106 MB / 1.232 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009558/0.8012, allocations: 1.118 MB / 1.233 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001299/0.8026, allocations: 311.9 kB / 1.233 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007975/0.8034, allocations: 467.2 kB / 1.234 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of SimCode: time 1.292e-06/0.8034, allocations: 4 kB / 1.234 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.639/3.442, allocations: 27.73 MB / 1.261 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/3.442, allocations: 293.7 kB / 1.261 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.872/6.315, allocations: 4.281 kB / 1.261 GB, free: 229.6 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)