Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.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,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData",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.006686/0.006686, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001539/0.00154, allocations: 196.6 kB / 16.67 MB, free: 5.52 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.154/2.154, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 0.9504 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6609/0.6622, allocations: 140.4 MB / 1.087 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1783/0.8405, allocations: 167.2 MB / 1.251 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02007/0.8606, allocations: 17.2 MB / 1.268 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.8622, allocations: 31.81 kB / 1.268 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.8639, allocations: 0.5274 MB / 1.268 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004748/0.8687, allocations: 1.675 MB / 1.27 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00338/0.8721, allocations: 1.428 MB / 1.271 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002999/0.8751, allocations: 2.669 MB / 1.274 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002448/0.8776, allocations: 2.002 MB / 1.276 GB, free: 13.01 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003309/0.8809, allocations: 1.385 MB / 1.277 GB, free: 11.66 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001365/0.8823, allocations: 1.078 MB / 1.278 GB, free: 10.58 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003981/0.8827, allocations: 220 kB / 1.278 GB, free: 10.37 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002656/0.8853, allocations: 1.552 MB / 1.28 GB, free: 8.812 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006974/0.886, allocations: 0.7985 MB / 1.281 GB, free: 8.012 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001336/0.8874, allocations: 1.228 MB / 1.282 GB, free: 6.777 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004084/0.8915, allocations: 3.656 MB / 1.285 GB, free: 3.109 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.8915, allocations: 0 / 1.285 GB, free: 3.109 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8915, allocations: 0 / 1.285 GB, free: 3.109 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.254e-05/0.8916, allocations: 4 kB / 1.285 GB, free: 3.105 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005137/0.8967, allocations: 2.877 MB / 1.288 GB, free: 164 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.8968, allocations: 12.03 kB / 1.288 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003166/0.8971, allocations: 252.8 kB / 1.288 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003684/0.9008, allocations: 0.5667 MB / 1.289 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003796/0.9046, allocations: 3.421 MB / 1.292 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.541e-05/0.9047, allocations: 131.4 kB / 1.292 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002263/0.9049, allocations: 164 kB / 1.293 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003053/0.908, allocations: 1.945 MB / 1.294 GB, free: 9.562 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.908, allocations: 0 / 1.294 GB, free: 9.562 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/0.9082, allocations: 79.94 kB / 1.295 GB, free: 9.484 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.862e-05/0.9082, allocations: 40 kB / 1.295 GB, free: 9.445 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003388/0.9116, allocations: 2.085 MB / 1.297 GB, free: 7.355 MB / 1.029 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.008323/0.92, allocations: 6.168 MB / 1.303 GB, free: 0.9297 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003288/0.9233, allocations: 2.095 MB / 1.305 GB, free: 14.75 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/0.9245, allocations: 0.7613 MB / 1.305 GB, free: 13.99 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005558/0.9251, allocations: 433.6 kB / 1.306 GB, free: 13.49 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001671/0.9268, allocations: 1.005 MB / 1.307 GB, free: 12.46 MB / 1.045 GB Notification: Performance of pre-optimization done (n=146): time 3.035e-06/0.9268, allocations: 3.938 kB / 1.307 GB, free: 12.46 MB / 1.045 GB Notification: Performance of matching and sorting (n=146): time 0.00671/0.9335, allocations: 2.965 MB / 1.31 GB, free: 9.383 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.716e-05/0.9336, allocations: 197.2 kB / 1.31 GB, free: 9.148 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004147/0.9378, allocations: 4.056 MB / 1.314 GB, free: 5.086 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.9379, allocations: 61.7 kB / 1.314 GB, free: 5.02 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006734/0.9386, allocations: 0.8866 MB / 1.315 GB, free: 4.121 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003634/0.939, allocations: 477 kB / 1.315 GB, free: 3.648 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003769/0.9394, allocations: 238.8 kB / 1.315 GB, free: 3.406 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.9395, allocations: 357.9 kB / 1.316 GB, free: 3.051 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.9406, allocations: 0.5687 MB / 1.316 GB, free: 2.484 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.9419, allocations: 0.793 MB / 1.317 GB, free: 1.625 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002325/0.9442, allocations: 1.318 MB / 1.318 GB, free: 308 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.9442, allocations: 0 / 1.318 GB, free: 308 kB / 1.045 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003809/0.9481, allocations: 1.775 MB / 1.32 GB, free: 14.5 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.9481, allocations: 4.094 kB / 1.32 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.9481, allocations: 4 kB / 1.32 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.9492, allocations: 216.1 kB / 1.32 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/0.9508, allocations: 323.6 kB / 1.321 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006165/0.957, allocations: 7.312 MB / 1.328 GB, free: 5.934 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.9583, allocations: 154.9 kB / 1.328 GB, free: 5.781 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.9584, allocations: 51.97 kB / 1.328 GB, free: 5.73 MB / 1.061 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 (144): * Single equations (assignments): 139 * 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.0008144/0.9592, allocations: 498.8 kB / 1.329 GB, free: 5.234 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003334/0.9596, allocations: 189.6 kB / 1.329 GB, free: 5.047 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004422/0.964, allocations: 2.141 MB / 1.331 GB, free: 2.875 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.964, allocations: 12 kB / 1.331 GB, free: 2.863 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.9641, allocations: 4 kB / 1.331 GB, free: 2.859 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/0.9641, allocations: 11.97 kB / 1.331 GB, free: 2.848 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006596/0.9707, allocations: 4.099 MB / 1.335 GB, free: 14.67 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.9707, allocations: 0 / 1.335 GB, free: 14.67 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/0.9722, allocations: 319.5 kB / 1.335 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009132/0.9731, allocations: 204.1 kB / 1.335 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.524e-05/0.9732, allocations: 39.97 kB / 1.335 GB, free: 14.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005385/0.9786, allocations: 7.359 MB / 1.343 GB, free: 6.035 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.9786, allocations: 0 / 1.343 GB, free: 6.035 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003874/0.9825, allocations: 2.001 MB / 1.344 GB, free: 4 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008463/0.9833, allocations: 0.506 MB / 1.345 GB, free: 3.473 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/0.9836, allocations: 32 kB / 1.345 GB, free: 3.441 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/0.9849, allocations: 105.8 kB / 1.345 GB, free: 3.34 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.9851, allocations: 109.2 kB / 1.345 GB, free: 3.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/0.9852, allocations: 75.94 kB / 1.345 GB, free: 3.156 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002988/0.9882, allocations: 3.112 MB / 1.348 GB, free: 52 kB / 1.076 GB Notification: Performance of sort global known variables: time 2e-07/0.9883, allocations: 4 kB / 1.348 GB, free: 48 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.001589/0.9898, allocations: 0.6663 MB / 1.349 GB, free: 15.38 MB / 1.092 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.005613/0.9955, allocations: 3.213 MB / 1.352 GB, free: 12.32 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003307/0.9988, allocations: 2.051 MB / 1.354 GB, free: 10.2 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.9988, allocations: 0.5625 kB / 1.354 GB, free: 10.2 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001981/1.001, allocations: 1.414 MB / 1.356 GB, free: 8.723 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/1.003, allocations: 0.5333 MB / 1.356 GB, free: 8.211 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02853/1.032, allocations: 20.86 MB / 1.376 GB, free: 3.109 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/1.033, allocations: 1.526 MB / 1.378 GB, free: 1.555 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.00167/1.034, allocations: 0.5404 MB / 1.378 GB, free: 1.008 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/1.036, allocations: 0.9015 MB / 1.379 GB, free: 108 kB / 1.107 GB Notification: Performance of SimCode: time 8.31e-07/1.036, allocations: 0 / 1.379 GB, free: 108 kB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8134/1.849, allocations: 48.1 MB / 1.426 GB, free: 0.5156 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.03/16.88, allocations: 9.844 kB / 1.426 GB, free: 0.5117 MB / 1.154 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)