Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.268/2.268, allocations: 391.2 MB / 407 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 203 kB / 499.1 MB, free: 4.672 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.001011, allocations: 114.2 kB / 0.9329 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001038, allocations: 53.78 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2379, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1432/0.3811, allocations: 164.7 MB / 1.379 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.02244/0.4036, allocations: 17.19 MB / 1.396 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.405, allocations: 35.81 kB / 1.396 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001839/0.4068, allocations: 449.3 kB / 1.396 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.004626/0.4115, allocations: 1.466 MB / 1.398 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.003382/0.415, allocations: 1.234 MB / 1.399 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.003294/0.4183, allocations: 2.818 MB / 1.402 GB, free: 8.762 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002521/0.4208, allocations: 1.817 MB / 1.403 GB, free: 6.898 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006218/0.427, allocations: 1.212 MB / 1.404 GB, free: 5.719 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001844/0.4289, allocations: 1.019 MB / 1.405 GB, free: 4.695 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0005741/0.4295, allocations: 116 kB / 1.406 GB, free: 4.582 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003345/0.4328, allocations: 1.575 MB / 1.407 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0008182/0.4337, allocations: 0.6852 MB / 1.408 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.001617/0.4353, allocations: 1.045 MB / 1.409 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.00482/0.4401, allocations: 3.326 MB / 1.412 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4402, allocations: 4 kB / 1.412 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4402, allocations: 0 / 1.412 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.785e-05/0.4403, allocations: 4 kB / 1.412 GB, free: 13.92 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.005444/0.4457, allocations: 2.661 MB / 1.415 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.4458, allocations: 15.98 kB / 1.415 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00369/0.4495, allocations: 0.5435 MB / 1.415 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002842/0.4523, allocations: 1.564 MB / 1.417 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.4525, allocations: 123.3 kB / 1.417 GB, free: 8.898 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003019/0.4528, allocations: 175.9 kB / 1.417 GB, free: 8.727 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003619/0.4564, allocations: 1.888 MB / 1.419 GB, free: 6.785 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/0.4564, allocations: 0 / 1.419 GB, free: 6.785 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/0.4566, allocations: 75.94 kB / 1.419 GB, free: 6.711 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.305e-05/0.4567, allocations: 40 kB / 1.419 GB, free: 6.672 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003601/0.4603, allocations: 2.065 MB / 1.421 GB, free: 4.602 MB / 0.9167 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.4486/0.9089, allocations: 5.706 MB / 1.427 GB, free: 202.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003423/0.9124, allocations: 2.036 MB / 1.429 GB, free: 202.4 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/0.9136, allocations: 0.7414 MB / 1.429 GB, free: 202.2 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004927/0.9141, allocations: 425.1 kB / 1.43 GB, free: 201.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00168/0.9158, allocations: 0.9496 MB / 1.431 GB, free: 201.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=137): time 2.996e-06/0.9158, allocations: 0 / 1.431 GB, free: 201.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=137): time 0.00655/0.9224, allocations: 2.86 MB / 1.433 GB, free: 200.3 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/0.9225, allocations: 199.4 kB / 1.434 GB, free: 200.1 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002407/0.9249, allocations: 1.784 MB / 1.435 GB, free: 199.5 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001596/0.9251, allocations: 54.83 kB / 1.435 GB, free: 199.4 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005675/0.9256, allocations: 0.8231 MB / 1.436 GB, free: 198.9 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002967/0.9259, allocations: 463.4 kB / 1.437 GB, free: 198.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003777/0.9263, allocations: 244.2 kB / 1.437 GB, free: 198.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.12e-05/0.9264, allocations: 351.4 kB / 1.437 GB, free: 198.2 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.9276, allocations: 0.5709 MB / 1.438 GB, free: 198 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.9289, allocations: 0.7742 MB / 1.439 GB, free: 197.6 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002322/0.9313, allocations: 1.3 MB / 1.44 GB, free: 197.1 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.9313, allocations: 3.938 kB / 1.44 GB, free: 197.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003985/0.9353, allocations: 1.757 MB / 1.442 GB, free: 196.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.9353, allocations: 6.766 kB / 1.442 GB, free: 196.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.9353, allocations: 2.375 kB / 1.442 GB, free: 196.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.9364, allocations: 212.4 kB / 1.442 GB, free: 196.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.9379, allocations: 324.1 kB / 1.442 GB, free: 196.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004399/0.9423, allocations: 6.806 MB / 1.449 GB, free: 189.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/0.9442, allocations: 169.5 kB / 1.449 GB, free: 189.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001885/0.9444, allocations: 54.88 kB / 1.449 GB, free: 189.6 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 136 * 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.0009176/0.9453, allocations: 469.7 kB / 1.449 GB, free: 189.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000367/0.9457, allocations: 179.2 kB / 1.45 GB, free: 189.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004482/0.9502, allocations: 2.054 MB / 1.452 GB, free: 188.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/0.9502, allocations: 14.69 kB / 1.452 GB, free: 188.5 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.9502, allocations: 1.938 kB / 1.452 GB, free: 188.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/0.9503, allocations: 12.06 kB / 1.452 GB, free: 188.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00806/0.9583, allocations: 3.833 MB / 1.455 GB, free: 186.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.9584, allocations: 0.5 kB / 1.455 GB, free: 186.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/0.9597, allocations: 316.4 kB / 1.456 GB, free: 186.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008538/0.9606, allocations: 219.6 kB / 1.456 GB, free: 186.8 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.901e-05/0.9607, allocations: 35.48 kB / 1.456 GB, free: 186.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003755/0.9645, allocations: 6.854 MB / 1.463 GB, free: 180 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.9645, allocations: 0 / 1.463 GB, free: 180 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005654/0.9702, allocations: 3.632 MB / 1.466 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000729/0.9709, allocations: 453.8 kB / 1.467 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/0.9711, allocations: 30.75 kB / 1.467 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.9722, allocations: 125.3 kB / 1.467 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.9725, allocations: 103.2 kB / 1.467 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/0.9726, allocations: 67.61 kB / 1.467 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001258/0.9738, allocations: 1.276 MB / 1.468 GB, free: 177.2 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9739, allocations: 1.219 kB / 1.468 GB, free: 177.2 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001523/0.9754, allocations: 0.6465 MB / 1.469 GB, free: 176.8 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001388/0.9768, allocations: 0.7414 MB / 1.469 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002718/0.9795, allocations: 2.02 MB / 1.471 GB, free: 174.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.9795, allocations: 4.562 kB / 1.471 GB, free: 174.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001547/0.9811, allocations: 1.386 MB / 1.473 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/0.983, allocations: 0.496 MB / 1.473 GB, free: 172.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006617/0.9897, allocations: 5.411 MB / 1.479 GB, free: 166.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007951/0.9905, allocations: 1.549 MB / 1.48 GB, free: 165.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00168/0.9922, allocations: 498.8 kB / 1.481 GB, free: 164.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004098/0.9926, allocations: 163.4 kB / 1.481 GB, free: 164.7 MB / 0.9167 GB Notification: Performance of SimCode: time 9.62e-07/0.9926, allocations: 0 / 1.481 GB, free: 164.7 MB / 0.9167 GB Notification: Performance of Templates: time 0.03801/1.031, allocations: 29.92 MB / 1.51 GB, free: 135 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)