Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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_CpLowRise,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",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.001238/0.001238, 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.00116/0.00116, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.211/1.211, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.458/2.458, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.89 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4927/0.494, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1456/0.6397, allocations: 166 MB / 1.179 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01761/0.6573, allocations: 17.1 MB / 1.196 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008983/0.6582, allocations: 27.88 kB / 1.196 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.6594, allocations: 465.1 kB / 1.196 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003028/0.6625, allocations: 1.446 MB / 1.197 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00233/0.6648, allocations: 1.173 MB / 1.199 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002132/0.667, allocations: 2.859 MB / 1.201 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00172/0.6687, allocations: 1.736 MB / 1.203 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003992/0.6727, allocations: 1.192 MB / 1.204 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008208/0.6735, allocations: 0.9645 MB / 1.205 GB, free: 1.145 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002011/0.6738, allocations: 112 kB / 1.205 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002157/0.6759, allocations: 1.458 MB / 1.207 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003762/0.6763, allocations: 478.2 kB / 1.207 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007506/0.6771, allocations: 0.9442 MB / 1.208 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002559/0.6796, allocations: 3.038 MB / 1.211 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.6796, allocations: 0 / 1.211 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.01e-07/0.6797, allocations: 0 / 1.211 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.6797, allocations: 0 / 1.211 GB, free: 11.11 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.003352/0.683, allocations: 2.283 MB / 1.213 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.6831, allocations: 8.031 kB / 1.213 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002598/0.6833, allocations: 253 kB / 1.213 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003486/0.6868, allocations: 0.5011 MB / 1.214 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.6882, allocations: 1.09 MB / 1.215 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.367e-05/0.6883, allocations: 123.4 kB / 1.215 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.6885, allocations: 168 kB / 1.215 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002861/0.6914, allocations: 1.847 MB / 1.217 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.6914, allocations: 0 / 1.217 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/0.6916, allocations: 76 kB / 1.217 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.761e-05/0.6916, allocations: 40 kB / 1.217 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003063/0.6947, allocations: 1.878 MB / 1.219 GB, free: 2.68 MB / 0.9669 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.006751/0.7014, allocations: 5.561 MB / 1.224 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002795/0.7042, allocations: 1.763 MB / 1.226 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.7053, allocations: 0.6515 MB / 1.227 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007714/0.7061, allocations: 0.8038 MB / 1.228 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001496/0.7076, allocations: 0.8957 MB / 1.229 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 2.455e-06/0.7076, allocations: 0 / 1.229 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.005694/0.7133, allocations: 2.56 MB / 1.231 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.127e-05/0.7134, allocations: 201.2 kB / 1.231 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009004/0.7143, allocations: 0.8348 MB / 1.232 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.7145, allocations: 57.7 kB / 1.232 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004077/0.7149, allocations: 0.6446 MB / 1.233 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003694/0.7152, allocations: 481 kB / 1.233 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003512/0.7156, allocations: 238.8 kB / 1.233 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.7157, allocations: 357.9 kB / 1.234 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009419/0.7167, allocations: 470.4 kB / 1.234 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.7178, allocations: 0.6379 MB / 1.235 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002028/0.7198, allocations: 1.095 MB / 1.236 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.7198, allocations: 3.938 kB / 1.236 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.0032/0.723, allocations: 1.499 MB / 1.237 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.723, allocations: 11.94 kB / 1.237 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.7231, allocations: 0 / 1.237 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008851/0.7239, allocations: 188.2 kB / 1.238 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/0.7254, allocations: 331.5 kB / 1.238 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004932/0.7304, allocations: 6.776 MB / 1.244 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.7315, allocations: 170.7 kB / 1.245 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.7316, allocations: 51.97 kB / 1.245 GB, free: 6.867 MB / 0.9981 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 (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005451/0.7322, allocations: 374.3 kB / 1.245 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002421/0.7324, allocations: 134.6 kB / 1.245 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003947/0.7364, allocations: 1.85 MB / 1.247 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.7364, allocations: 19.98 kB / 1.247 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7364, allocations: 0 / 1.247 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.7364, allocations: 3.984 kB / 1.247 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00538/0.7418, allocations: 3.443 MB / 1.25 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.7418, allocations: 3.938 kB / 1.25 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/0.7433, allocations: 319.6 kB / 1.251 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007825/0.7441, allocations: 196 kB / 1.251 GB, free: 428 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.106e-05/0.7442, allocations: 39.97 kB / 1.251 GB, free: 388 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3992/1.143, allocations: 6.793 MB / 1.258 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.143, allocations: 4.594 kB / 1.258 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003726/1.147, allocations: 1.71 MB / 1.259 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005721/1.148, allocations: 396.4 kB / 1.26 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/1.148, allocations: 33.53 kB / 1.26 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/1.149, allocations: 134.1 kB / 1.26 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/1.149, allocations: 111.5 kB / 1.26 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/1.15, allocations: 74.33 kB / 1.26 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007845/1.15, allocations: 0.5786 MB / 1.26 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.15, allocations: 0 / 1.26 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00145/1.152, allocations: 0.6016 MB / 1.261 GB, free: 223.6 MB / 0.9981 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.005015/1.157, allocations: 2.892 MB / 1.264 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002932/1.16, allocations: 1.821 MB / 1.266 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/1.16, allocations: 4.781 kB / 1.266 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001859/1.162, allocations: 1.308 MB / 1.267 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/1.164, allocations: 0.4919 MB / 1.267 GB, free: 220.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01722/1.181, allocations: 11.22 MB / 1.278 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000769/1.182, allocations: 1.297 MB / 1.28 GB, free: 213.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001753/1.184, allocations: 442.7 kB / 1.28 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007789/1.184, allocations: 0.647 MB / 1.281 GB, free: 212.8 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/1.184, allocations: 0 / 1.281 GB, free: 212.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.558/2.742, allocations: 36 MB / 1.316 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/2.742, allocations: 283.7 kB / 1.316 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.029/5.771, allocations: 0 / 1.316 GB, free: 184.3 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)