Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") translateModel(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001337/0.001337, allocations: 189.9 kB / 16.14 MB, free: 6.688 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.434/1.434, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.089/3.089, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.25 kB / 0.9113 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3053, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1895/0.4948, allocations: 166.1 MB / 1.23 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02285/0.5178, allocations: 17.4 MB / 1.247 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/0.52, allocations: 31.81 kB / 1.247 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002325/0.5224, allocations: 489 kB / 1.247 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006513/0.529, allocations: 1.589 MB / 1.249 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.7269/1.256, allocations: 1.267 MB / 1.25 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006263/1.262, allocations: 3.109 MB / 1.253 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00372/1.266, allocations: 1.806 MB / 1.255 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006619/1.273, allocations: 1.261 MB / 1.256 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002781/1.275, allocations: 1.097 MB / 1.257 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005424/1.276, allocations: 119 kB / 1.257 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00427/1.28, allocations: 1.582 MB / 1.259 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001001/1.281, allocations: 0.697 MB / 1.259 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002245/1.283, allocations: 1.124 MB / 1.261 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006968/1.29, allocations: 3.513 MB / 1.264 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/1.29, allocations: 0 / 1.264 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.754e-06/1.29, allocations: 0 / 1.264 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001196/1.291, allocations: 3.844 kB / 1.264 GB, free: 6.242 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.00763/1.298, allocations: 2.779 MB / 1.267 GB, free: 20.9 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/1.298, allocations: 7.625 kB / 1.267 GB, free: 20.9 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004306/1.303, allocations: 0.5545 MB / 1.267 GB, free: 20.76 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0038/1.306, allocations: 1.598 MB / 1.269 GB, free: 20.29 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/1.307, allocations: 130.4 kB / 1.269 GB, free: 20.29 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000337/1.307, allocations: 168.1 kB / 1.269 GB, free: 20.29 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004296/1.311, allocations: 1.955 MB / 1.271 GB, free: 20.11 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.433e-05/1.311, allocations: 4.688 kB / 1.271 GB, free: 20.11 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001776/1.312, allocations: 71.7 kB / 1.271 GB, free: 20.11 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-05/1.312, allocations: 50.2 kB / 1.271 GB, free: 20.1 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004598/1.316, allocations: 2.114 MB / 1.273 GB, free: 20.08 MB / 1.014 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.01191/1.328, allocations: 6.245 MB / 1.279 GB, free: 17.74 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003915/1.332, allocations: 2.132 MB / 1.281 GB, free: 17.3 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/1.333, allocations: 0.7709 MB / 1.282 GB, free: 17.29 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000658/1.334, allocations: 429.4 kB / 1.283 GB, free: 16.91 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001988/1.336, allocations: 1.016 MB / 1.284 GB, free: 16.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 5.26e-06/1.336, allocations: 0 / 1.284 GB, free: 16.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=146): time 0.007587/1.344, allocations: 2.993 MB / 1.286 GB, free: 16.12 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/1.344, allocations: 199.7 kB / 1.287 GB, free: 15.9 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003057/1.347, allocations: 1.799 MB / 1.288 GB, free: 15.73 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003146/1.347, allocations: 60.86 kB / 1.288 GB, free: 15.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007848/1.348, allocations: 0.8424 MB / 1.289 GB, free: 15.4 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000406/1.349, allocations: 484.8 kB / 1.29 GB, free: 15.1 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004833/1.349, allocations: 257.9 kB / 1.29 GB, free: 15.07 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001747/1.349, allocations: 353.6 kB / 1.29 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/1.35, allocations: 0.6057 MB / 1.291 GB, free: 14.77 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/1.352, allocations: 0.8116 MB / 1.292 GB, free: 14.61 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002527/1.354, allocations: 1.356 MB / 1.293 GB, free: 14.55 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/1.354, allocations: 5.219 kB / 1.293 GB, free: 14.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004377/1.359, allocations: 1.833 MB / 1.295 GB, free: 14.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/1.359, allocations: 9.188 kB / 1.295 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.359, allocations: 1.25 kB / 1.295 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/1.36, allocations: 210.7 kB / 1.295 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/1.362, allocations: 335.6 kB / 1.295 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006496/1.368, allocations: 6.839 MB / 1.302 GB, free: 7.945 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/1.371, allocations: 184.4 kB / 1.302 GB, free: 7.887 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001906/1.371, allocations: 55.61 kB / 1.302 GB, free: 7.887 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (153): * Single equations (assignments): 148 * 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.001422/1.372, allocations: 487.9 kB / 1.303 GB, free: 7.77 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005362/1.373, allocations: 190.3 kB / 1.303 GB, free: 7.668 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004532/1.377, allocations: 2.145 MB / 1.305 GB, free: 7.469 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/1.377, allocations: 19.16 kB / 1.305 GB, free: 7.465 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/1.377, allocations: 2.562 kB / 1.305 GB, free: 7.465 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.822e-05/1.377, allocations: 6.234 kB / 1.305 GB, free: 7.465 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007515/1.385, allocations: 4.008 MB / 1.309 GB, free: 7.004 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.385, allocations: 6.906 kB / 1.309 GB, free: 7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001517/1.387, allocations: 320.1 kB / 1.309 GB, free: 7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009683/1.388, allocations: 210.2 kB / 1.309 GB, free: 6.953 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001536/1.388, allocations: 42.34 kB / 1.309 GB, free: 6.953 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005842/1.394, allocations: 6.834 MB / 1.316 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.394, allocations: 2.656 kB / 1.316 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004819/1.398, allocations: 2.006 MB / 1.318 GB, free: 300 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001343/1.4, allocations: 472.2 kB / 1.319 GB, free: 88 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005952/1.4, allocations: 29.09 kB / 1.319 GB, free: 88 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00189/1.402, allocations: 149.4 kB / 1.319 GB, free: 64 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003189/1.403, allocations: 113.9 kB / 1.319 GB, free: 64 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002083/1.403, allocations: 72.61 kB / 1.319 GB, free: 64 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002449/1.405, allocations: 1.293 MB / 1.32 GB, free: 15.95 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.21e-07/1.405, allocations: 0 / 1.32 GB, free: 15.95 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003/1.408, allocations: 0.682 MB / 1.321 GB, free: 15.86 MB / 1.029 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.002382/1.411, allocations: 0.7626 MB / 1.322 GB, free: 15.61 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003983/1.415, allocations: 2.098 MB / 1.324 GB, free: 15.01 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.998e-06/1.415, allocations: 2.75 kB / 1.324 GB, free: 15.01 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002247/1.417, allocations: 1.43 MB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003501/1.421, allocations: 0.5105 MB / 1.326 GB, free: 14.4 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00857/1.429, allocations: 4.709 MB / 1.33 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001832/1.431, allocations: 1.528 MB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002838/1.434, allocations: 0.4996 MB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008089/1.435, allocations: 169.1 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of SimCode: time 9.51e-07/1.435, allocations: 4 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of Templates: time 0.05942/1.494, allocations: 30.86 MB / 1.362 GB, free: 12.94 MB / 1.045 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_3.0.0_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)