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.001034/0.001034, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007875/0.007875, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.316/1.316, allocations: 223.3 MB / 240.3 MB, free: 5.32 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.507/2.507, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003367, allocations: 12 kB / 0.8729 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5493/0.5497, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1408/0.6905, allocations: 150.2 MB / 1.17 GB, free: 9.02 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01298/0.7035, allocations: 10.43 MB / 1.18 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000758/0.7043, allocations: 19.88 kB / 1.18 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007411/0.7051, allocations: 226.5 kB / 1.18 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002188/0.7073, allocations: 0.8359 MB / 1.181 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.7093, allocations: 0.9475 MB / 1.182 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001401/0.7107, allocations: 1.705 MB / 1.184 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.7119, allocations: 0.9942 MB / 1.185 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.7134, allocations: 0.551 MB / 1.185 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000534/0.714, allocations: 0.4897 MB / 1.186 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.727e-05/0.7141, allocations: 32 kB / 1.186 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.7155, allocations: 0.936 MB / 1.187 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002296/0.7157, allocations: 258.9 kB / 1.187 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004405/0.7161, allocations: 0.5647 MB / 1.187 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.718, allocations: 2.095 MB / 1.189 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.718, allocations: 0 / 1.189 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.372e-06/0.718, allocations: 4 kB / 1.189 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.502e-05/0.718, allocations: 0 / 1.189 GB, free: 4.867 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.002472/0.7205, allocations: 1.473 MB / 1.191 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.7205, allocations: 8.031 kB / 1.191 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001727/0.7207, allocations: 156.1 kB / 1.191 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.7223, allocations: 282 kB / 1.191 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.7235, allocations: 1.054 MB / 1.192 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.842e-05/0.7236, allocations: 70 kB / 1.192 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.7238, allocations: 99.94 kB / 1.192 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.7256, allocations: 1.121 MB / 1.194 GB, free: 484 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.7256, allocations: 4 kB / 1.194 GB, free: 480 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.783e-05/0.7257, allocations: 40 kB / 1.194 GB, free: 440 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.7257, allocations: 24 kB / 1.194 GB, free: 416 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/0.7279, allocations: 1.335 MB / 1.195 GB, free: 15.07 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.004724/0.7327, allocations: 3.533 MB / 1.198 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/0.7346, allocations: 1.118 MB / 1.199 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007738/0.7354, allocations: 432.2 kB / 1.2 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000212/0.7356, allocations: 145.9 kB / 1.2 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/0.7367, allocations: 0.6293 MB / 1.201 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=95): time 2.074e-06/0.7367, allocations: 0 / 1.201 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of matching and sorting (n=95): time 0.003992/0.7407, allocations: 1.667 MB / 1.202 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.467e-05/0.7408, allocations: 192.9 kB / 1.202 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.7419, allocations: 1.021 MB / 1.203 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-05/0.742, allocations: 45.7 kB / 1.204 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.7423, allocations: 476.4 kB / 1.204 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/0.7425, allocations: 307.6 kB / 1.204 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.7426, allocations: 69.69 kB / 1.204 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.7427, allocations: 341.9 kB / 1.205 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007078/0.7435, allocations: 341.8 kB / 1.205 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000799/0.7443, allocations: 485.1 kB / 1.205 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.7457, allocations: 0.7843 MB / 1.206 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7457, allocations: 0 / 1.206 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002342/0.7481, allocations: 1.06 MB / 1.207 GB, free: 2.074 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.7481, allocations: 8.062 kB / 1.207 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/0.7481, allocations: 0 / 1.207 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007057/0.7488, allocations: 113.6 kB / 1.207 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008592/0.7497, allocations: 203.7 kB / 1.208 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002754/0.7525, allocations: 2.87 MB / 1.21 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000814/0.7533, allocations: 134.3 kB / 1.21 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-05/0.7534, allocations: 35.97 kB / 1.211 GB, free: 14.44 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.0004171/0.7538, allocations: 306.9 kB / 1.211 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.754, allocations: 102.8 kB / 1.211 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003044/0.757, allocations: 1.342 MB / 1.212 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.757, allocations: 8 kB / 1.212 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.757, allocations: 4 kB / 1.212 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.7571, allocations: 3.984 kB / 1.212 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004003/0.7611, allocations: 2.473 MB / 1.215 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.7611, allocations: 0 / 1.215 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008137/0.7619, allocations: 199.7 kB / 1.215 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006061/0.7625, allocations: 113.6 kB / 1.215 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.769e-05/0.7626, allocations: 31.91 kB / 1.215 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002538/0.7651, allocations: 2.883 MB / 1.218 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7652, allocations: 0 / 1.218 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002397/0.7676, allocations: 1.258 MB / 1.219 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004007/0.768, allocations: 339.3 kB / 1.219 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.7681, allocations: 20 kB / 1.219 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000861/0.769, allocations: 103.9 kB / 1.219 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.7691, allocations: 80.81 kB / 1.22 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.628e-05/0.7692, allocations: 43.97 kB / 1.22 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00079/0.77, allocations: 0.7528 MB / 1.22 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.81e-07/0.77, allocations: 0 / 1.22 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009906/0.771, allocations: 447.2 kB / 1.221 GB, free: 3.559 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.004082/0.7751, allocations: 2.42 MB / 1.223 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001994/0.7771, allocations: 1.127 MB / 1.224 GB, free: 148 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.7771, allocations: 4 kB / 1.224 GB, free: 144 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.7784, allocations: 0.7411 MB / 1.225 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.7799, allocations: 335.8 kB / 1.225 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/0.7939, allocations: 9.202 MB / 1.234 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006181/0.7946, allocations: 1.107 MB / 1.235 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009957/0.7956, allocations: 315.9 kB / 1.236 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006076/0.7962, allocations: 467.2 kB / 1.236 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.7962, allocations: 0 / 1.236 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.184/2.98, allocations: 26.63 MB / 1.262 GB, free: 228 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/2.981, allocations: 296.9 kB / 1.262 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.69/5.671, allocations: 4 kB / 1.262 GB, free: 227.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)