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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001314/0.001315, 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.001367/0.001367, allocations: 191.8 kB / 16.13 MB, free: 6.699 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.249/1.249, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.355/2.355, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 55.91 kB / 0.8686 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5147/0.5159, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1529/0.6688, allocations: 152.2 MB / 1.165 GB, free: 9.977 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01165/0.6805, allocations: 10.59 MB / 1.176 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004709/0.681, allocations: 23.88 kB / 1.176 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006949/0.6817, allocations: 230.5 kB / 1.176 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.6836, allocations: 0.8194 MB / 1.177 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.6855, allocations: 0.9513 MB / 1.178 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001355/0.6869, allocations: 1.717 MB / 1.179 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.6881, allocations: 1.051 MB / 1.18 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.6897, allocations: 0.6211 MB / 1.181 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005593/0.6903, allocations: 0.5911 MB / 1.182 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.6904, allocations: 64 kB / 1.182 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.6919, allocations: 0.9711 MB / 1.183 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000266/0.6922, allocations: 306.9 kB / 1.183 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005043/0.6927, allocations: 0.6138 MB / 1.183 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001901/0.6946, allocations: 2.146 MB / 1.186 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.6946, allocations: 0 / 1.186 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.32e-07/0.6946, allocations: 0 / 1.186 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.473e-05/0.6946, allocations: 0 / 1.186 GB, free: 5.223 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.002738/0.6974, allocations: 1.73 MB / 1.187 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.6974, allocations: 11.97 kB / 1.187 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001604/0.6976, allocations: 152.1 kB / 1.187 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/0.6991, allocations: 278 kB / 1.188 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.7003, allocations: 1.046 MB / 1.189 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.452e-05/0.7004, allocations: 74 kB / 1.189 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.7005, allocations: 95.98 kB / 1.189 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.7022, allocations: 1.11 MB / 1.19 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.7022, allocations: 0 / 1.19 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.509e-05/0.7023, allocations: 47.98 kB / 1.19 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.7023, allocations: 24 kB / 1.19 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.7043, allocations: 1.311 MB / 1.191 GB, free: 15.21 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.004403/0.7088, allocations: 3.496 MB / 1.195 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.7105, allocations: 1.106 MB / 1.196 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007006/0.7112, allocations: 424.3 kB / 1.196 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002172/0.7115, allocations: 142 kB / 1.196 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009866/0.7125, allocations: 0.6138 MB / 1.197 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=95): time 2.164e-06/0.7125, allocations: 0 / 1.197 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of matching and sorting (n=95): time 0.003746/0.7162, allocations: 1.631 MB / 1.199 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.216e-05/0.7163, allocations: 200.8 kB / 1.199 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.7173, allocations: 1.017 MB / 1.2 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.183e-05/0.7174, allocations: 49.7 kB / 1.2 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002958/0.7177, allocations: 476.5 kB / 1.2 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/0.7179, allocations: 307.5 kB / 1.201 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.7182, allocations: 166.5 kB / 1.201 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.7183, allocations: 341.9 kB / 1.201 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006357/0.7189, allocations: 329.8 kB / 1.201 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007554/0.7197, allocations: 477.1 kB / 1.202 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.721, allocations: 0.7648 MB / 1.203 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.721, allocations: 0 / 1.203 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002239/0.7233, allocations: 1.044 MB / 1.204 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.7233, allocations: 9.719 kB / 1.204 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.7233, allocations: 4 kB / 1.204 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007057/0.724, allocations: 113.7 kB / 1.204 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008211/0.7248, allocations: 203.7 kB / 1.204 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002589/0.7274, allocations: 2.856 MB / 1.207 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00076/0.7282, allocations: 119.3 kB / 1.207 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/0.7283, allocations: 36.16 kB / 1.207 GB, free: 14.66 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.0003772/0.7287, allocations: 310.1 kB / 1.207 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.7289, allocations: 98.78 kB / 1.207 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002691/0.7315, allocations: 1.326 MB / 1.208 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.7316, allocations: 12 kB / 1.208 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.7316, allocations: 0 / 1.208 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.7316, allocations: 3.984 kB / 1.208 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003601/0.7352, allocations: 2.449 MB / 1.211 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.7352, allocations: 0 / 1.211 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007532/0.736, allocations: 191.7 kB / 1.211 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005641/0.7365, allocations: 109.6 kB / 1.211 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.978e-05/0.7366, allocations: 35.97 kB / 1.211 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002388/0.739, allocations: 2.879 MB / 1.214 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.739, allocations: 0 / 1.214 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/0.7413, allocations: 1.231 MB / 1.215 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003611/0.7416, allocations: 327.4 kB / 1.216 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.7418, allocations: 24.17 kB / 1.216 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007958/0.7426, allocations: 85.62 kB / 1.216 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.7428, allocations: 84.81 kB / 1.216 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.472e-05/0.7429, allocations: 47.91 kB / 1.216 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007554/0.7436, allocations: 0.7528 MB / 1.216 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7436, allocations: 0 / 1.216 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009857/0.7446, allocations: 443.2 kB / 1.217 GB, free: 3.883 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.004173/0.7488, allocations: 2.408 MB / 1.219 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001896/0.7507, allocations: 1.107 MB / 1.22 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.7507, allocations: 0 / 1.22 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.7518, allocations: 0.7372 MB / 1.221 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.7531, allocations: 325.4 kB / 1.221 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/0.7661, allocations: 9.13 MB / 1.23 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/0.7667, allocations: 1.103 MB / 1.231 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009615/0.7676, allocations: 319.8 kB / 1.232 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005864/0.7682, allocations: 467.2 kB / 1.232 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.7682, allocations: 0 / 1.232 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.14/1.909, allocations: 27.02 MB / 1.258 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/1.909, allocations: 296.6 kB / 1.259 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.118/5.027, allocations: 0 / 1.259 GB, free: 229.4 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)