Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, 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.001889/0.001889, allocations: 197 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.405/1.405, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.791/2.791, allocations: 472.6 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 66.14 kB / 0.9113 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3466, allocations: 159.9 MB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1934/0.5401, allocations: 166.1 MB / 1.23 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02372/0.5638, allocations: 17.4 MB / 1.247 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002396/0.5663, allocations: 27.81 kB / 1.247 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002015/0.5683, allocations: 493 kB / 1.247 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005686/0.5741, allocations: 1.602 MB / 1.249 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.6935/1.268, allocations: 1.265 MB / 1.25 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004399/1.272, allocations: 3.112 MB / 1.253 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002813/1.275, allocations: 1.813 MB / 1.255 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005964/1.281, allocations: 1.253 MB / 1.256 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001785/1.283, allocations: 1.096 MB / 1.257 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003188/1.283, allocations: 118.1 kB / 1.257 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003644/1.287, allocations: 1.583 MB / 1.259 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009954/1.288, allocations: 0.6959 MB / 1.259 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002512/1.29, allocations: 1.138 MB / 1.261 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006173/1.296, allocations: 3.521 MB / 1.264 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.296, allocations: 2.906 kB / 1.264 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.333e-06/1.296, allocations: 0 / 1.264 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.431e-05/1.296, allocations: 0 / 1.264 GB, free: 6.238 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.0054/1.302, allocations: 2.793 MB / 1.267 GB, free: 20.88 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/1.302, allocations: 10.47 kB / 1.267 GB, free: 20.88 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003836/1.306, allocations: 0.5542 MB / 1.267 GB, free: 20.74 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002598/1.308, allocations: 1.601 MB / 1.269 GB, free: 20.28 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/1.308, allocations: 134.3 kB / 1.269 GB, free: 20.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002438/1.309, allocations: 170.2 kB / 1.269 GB, free: 20.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003702/1.312, allocations: 1.961 MB / 1.271 GB, free: 20.08 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/1.312, allocations: 0.5 kB / 1.271 GB, free: 20.08 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000167/1.313, allocations: 72.48 kB / 1.271 GB, free: 20.08 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.836e-05/1.313, allocations: 45.22 kB / 1.271 GB, free: 20.08 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00421/1.317, allocations: 2.121 MB / 1.273 GB, free: 20.06 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.009501/1.326, allocations: 6.226 MB / 1.279 GB, free: 17.73 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00327/1.33, allocations: 2.133 MB / 1.281 GB, free: 17.29 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/1.331, allocations: 0.7682 MB / 1.282 GB, free: 17.28 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005669/1.332, allocations: 433.2 kB / 1.283 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001718/1.333, allocations: 1.021 MB / 1.284 GB, free: 16.8 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 2.905e-06/1.333, allocations: 0 / 1.284 GB, free: 16.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=146): time 0.006888/1.34, allocations: 2.991 MB / 1.286 GB, free: 16.11 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/1.34, allocations: 199.7 kB / 1.287 GB, free: 15.88 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002495/1.343, allocations: 1.829 MB / 1.288 GB, free: 15.71 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000265/1.343, allocations: 61.08 kB / 1.289 GB, free: 15.68 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006555/1.344, allocations: 0.8408 MB / 1.289 GB, free: 15.39 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003872/1.344, allocations: 490.3 kB / 1.29 GB, free: 15.07 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004323/1.345, allocations: 261.7 kB / 1.29 GB, free: 15.05 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.345, allocations: 354.1 kB / 1.29 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/1.346, allocations: 0.6054 MB / 1.291 GB, free: 14.74 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/1.347, allocations: 0.813 MB / 1.292 GB, free: 14.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002464/1.35, allocations: 1.357 MB / 1.293 GB, free: 14.53 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/1.35, allocations: 1.469 kB / 1.293 GB, free: 14.53 MB / 1.014 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004082/1.354, allocations: 1.842 MB / 1.295 GB, free: 14.32 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/1.354, allocations: 5.438 kB / 1.295 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/1.354, allocations: 1.125 kB / 1.295 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/1.355, allocations: 210.2 kB / 1.295 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/1.357, allocations: 347.2 kB / 1.295 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005948/1.362, allocations: 6.818 MB / 1.302 GB, free: 7.922 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/1.364, allocations: 191.9 kB / 1.302 GB, free: 7.855 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002466/1.365, allocations: 52.61 kB / 1.302 GB, free: 7.855 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.001713/1.366, allocations: 0.4891 MB / 1.303 GB, free: 7.738 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008832/1.367, allocations: 184.6 kB / 1.303 GB, free: 7.641 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005206/1.373, allocations: 2.144 MB / 1.305 GB, free: 7.445 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/1.373, allocations: 15.28 kB / 1.305 GB, free: 7.445 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.908e-05/1.373, allocations: 6.719 kB / 1.305 GB, free: 7.445 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/1.373, allocations: 9.328 kB / 1.305 GB, free: 7.445 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008789/1.381, allocations: 4.013 MB / 1.309 GB, free: 6.988 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/1.381, allocations: 6.75 kB / 1.309 GB, free: 6.984 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/1.383, allocations: 318.1 kB / 1.309 GB, free: 6.984 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009806/1.384, allocations: 216 kB / 1.31 GB, free: 6.934 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001547/1.384, allocations: 40.39 kB / 1.31 GB, free: 6.934 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005932/1.39, allocations: 6.843 MB / 1.316 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.39, allocations: 4.125 kB / 1.316 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004918/1.395, allocations: 2.003 MB / 1.318 GB, free: 276 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/1.396, allocations: 480 kB / 1.319 GB, free: 60 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005477/1.397, allocations: 29.69 kB / 1.319 GB, free: 60 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/1.399, allocations: 133.6 kB / 1.319 GB, free: 44 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000325/1.399, allocations: 112.3 kB / 1.319 GB, free: 44 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002136/1.399, allocations: 75.8 kB / 1.319 GB, free: 40 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00223/1.402, allocations: 1.307 MB / 1.32 GB, free: 15.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.5e-07/1.402, allocations: 0 / 1.32 GB, free: 15.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002612/1.404, allocations: 0.6893 MB / 1.321 GB, free: 15.83 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.002267/1.406, allocations: 0.7584 MB / 1.322 GB, free: 15.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004656/1.411, allocations: 2.097 MB / 1.324 GB, free: 15 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/1.411, allocations: 7.281 kB / 1.324 GB, free: 15 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002717/1.414, allocations: 1.423 MB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00428/1.418, allocations: 0.5111 MB / 1.326 GB, free: 14.39 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008716/1.427, allocations: 4.744 MB / 1.33 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/1.428, allocations: 1.539 MB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002258/1.43, allocations: 0.4925 MB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004995/1.431, allocations: 181.4 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of SimCode: time 1.593e-06/1.431, allocations: 0 / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of Templates: time 0.06054/1.491, allocations: 30.89 MB / 1.363 GB, free: 12.7 MB / 1.045 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)