Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001273/0.001273, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 195 kB / 16.53 MB, free: 6.672 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.702/2.702, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 61.09 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2872, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1754/0.4626, allocations: 168.5 MB / 1.233 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6212/1.084, allocations: 17.36 MB / 1.25 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/1.085, allocations: 29.97 kB / 1.25 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001597/1.087, allocations: 0.5661 MB / 1.25 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004541/1.092, allocations: 1.778 MB / 1.252 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003208/1.095, allocations: 1.435 MB / 1.253 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003577/1.099, allocations: 2.863 MB / 1.256 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002725/1.101, allocations: 1.943 MB / 1.258 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004106/1.105, allocations: 1.427 MB / 1.259 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001967/1.107, allocations: 1.119 MB / 1.261 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005076/1.108, allocations: 223.2 kB / 1.261 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003588/1.111, allocations: 1.527 MB / 1.262 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00089/1.112, allocations: 0.7985 MB / 1.263 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00178/1.114, allocations: 1.23 MB / 1.264 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005736/1.12, allocations: 3.54 MB / 1.268 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/1.12, allocations: 4.266 kB / 1.268 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.584e-06/1.12, allocations: 0.8438 kB / 1.268 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001154/1.12, allocations: 3.75 kB / 1.268 GB, free: 5.023 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.006581/1.127, allocations: 2.785 MB / 1.27 GB, free: 19.68 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.127, allocations: 9.625 kB / 1.27 GB, free: 19.68 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003826/1.131, allocations: 0.5612 MB / 1.271 GB, free: 19.55 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002948/1.134, allocations: 1.603 MB / 1.273 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/1.134, allocations: 127.9 kB / 1.273 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000293/1.134, allocations: 170.5 kB / 1.273 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004326/1.138, allocations: 1.956 MB / 1.275 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/1.138, allocations: 4.312 kB / 1.275 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/1.138, allocations: 74.3 kB / 1.275 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.311e-05/1.139, allocations: 41.66 kB / 1.275 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003872/1.142, allocations: 2.112 MB / 1.277 GB, free: 18.88 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.01039/1.153, allocations: 6.263 MB / 1.283 GB, free: 16.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003287/1.156, allocations: 2.125 MB / 1.285 GB, free: 16.15 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/1.157, allocations: 0.7723 MB / 1.286 GB, free: 16.13 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005741/1.158, allocations: 435.1 kB / 1.286 GB, free: 15.75 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001752/1.16, allocations: 1.021 MB / 1.287 GB, free: 15.66 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 3.437e-06/1.16, allocations: 0 / 1.287 GB, free: 15.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=146): time 0.007126/1.167, allocations: 2.99 MB / 1.29 GB, free: 14.99 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/1.167, allocations: 199 kB / 1.29 GB, free: 14.77 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002617/1.17, allocations: 1.827 MB / 1.292 GB, free: 14.6 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002455/1.17, allocations: 62.39 kB / 1.292 GB, free: 14.56 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006509/1.171, allocations: 0.8485 MB / 1.293 GB, free: 14.27 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003511/1.171, allocations: 488 kB / 1.293 GB, free: 13.96 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004301/1.171, allocations: 255.3 kB / 1.294 GB, free: 13.94 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.172, allocations: 357.2 kB / 1.294 GB, free: 13.64 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/1.173, allocations: 0.6024 MB / 1.295 GB, free: 13.63 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/1.174, allocations: 0.8169 MB / 1.295 GB, free: 13.49 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/1.176, allocations: 1.354 MB / 1.297 GB, free: 13.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/1.176, allocations: 2.375 kB / 1.297 GB, free: 13.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004413/1.181, allocations: 1.838 MB / 1.299 GB, free: 13.23 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/1.181, allocations: 7.594 kB / 1.299 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.181, allocations: 2 kB / 1.299 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/1.182, allocations: 209 kB / 1.299 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/1.184, allocations: 344.1 kB / 1.299 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005626/1.189, allocations: 7.327 MB / 1.306 GB, free: 6.414 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/1.191, allocations: 172 kB / 1.306 GB, free: 6.355 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001824/1.191, allocations: 55.36 kB / 1.306 GB, free: 6.355 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.001376/1.193, allocations: 494.2 kB / 1.307 GB, free: 6.238 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004991/1.193, allocations: 179.9 kB / 1.307 GB, free: 6.148 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00473/1.198, allocations: 2.152 MB / 1.309 GB, free: 5.973 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/1.198, allocations: 17.72 kB / 1.309 GB, free: 5.973 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/1.198, allocations: 6.406 kB / 1.309 GB, free: 5.969 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/1.198, allocations: 8.578 kB / 1.309 GB, free: 5.969 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006803/1.205, allocations: 4.015 MB / 1.313 GB, free: 5.523 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.205, allocations: 0.8438 kB / 1.313 GB, free: 5.523 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/1.206, allocations: 324 kB / 1.314 GB, free: 5.523 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008155/1.207, allocations: 199.5 kB / 1.314 GB, free: 5.484 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/1.207, allocations: 43.28 kB / 1.314 GB, free: 5.484 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005938/1.213, allocations: 7.354 MB / 1.321 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.213, allocations: 0.9375 kB / 1.321 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004627/1.218, allocations: 2.007 MB / 1.323 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/1.219, allocations: 479.1 kB / 1.323 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002554/1.219, allocations: 33.25 kB / 1.323 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/1.221, allocations: 112.6 kB / 1.323 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002777/1.221, allocations: 112.2 kB / 1.324 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001588/1.221, allocations: 73.52 kB / 1.324 GB, free: 14.18 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001745/1.223, allocations: 1.305 MB / 1.325 GB, free: 14.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.6e-07/1.223, allocations: 0 / 1.325 GB, free: 14.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002359/1.225, allocations: 0.6846 MB / 1.326 GB, free: 13.96 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.002025/1.227, allocations: 0.76 MB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005383/1.233, allocations: 2.54 MB / 1.329 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.233, allocations: 3.938 kB / 1.329 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002066/1.235, allocations: 1.428 MB / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002918/1.238, allocations: 0.5473 MB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006183/1.244, allocations: 3.899 MB / 1.335 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/1.245, allocations: 1.543 MB / 1.336 GB, free: 10.35 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002034/1.247, allocations: 0.4935 MB / 1.337 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005094/1.247, allocations: 178.3 kB / 1.337 GB, free: 10.2 MB / 1.029 GB Notification: Performance of SimCode: time 7.31e-07/1.247, allocations: 0 / 1.337 GB, free: 10.2 MB / 1.029 GB Notification: Performance of Templates: time 0.05269/1.3, allocations: 32.15 MB / 1.368 GB, free: 8.566 MB / 1.045 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)