Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.009057/0.009057, allocations: 104.2 kB / 15.73 MB, free: 6.039 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.002037/0.002037, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.496/1.496, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002168/0.002168, allocations: 275.1 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9442/0.9442, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 103.8 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1753, allocations: 86.97 MB / 0.7664 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.614/0.7893, allocations: 167.2 MB / 0.9297 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02282/0.8121, allocations: 17.24 MB / 0.9465 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001848/0.814, allocations: 27.81 kB / 0.9465 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002163/0.8163, allocations: 0.5508 MB / 0.9471 GB, free: 9.738 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00648/0.8228, allocations: 1.715 MB / 0.9487 GB, free: 8.023 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004757/0.8275, allocations: 1.434 MB / 0.9502 GB, free: 6.605 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.005534/0.8331, allocations: 2.687 MB / 0.9528 GB, free: 3.91 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004087/0.8372, allocations: 2.002 MB / 0.9547 GB, free: 1.863 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005412/0.8426, allocations: 1.443 MB / 0.9561 GB, free: 476 kB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002031/0.8447, allocations: 1.089 MB / 0.9572 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008208/0.8455, allocations: 220 kB / 0.9574 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00395/0.8495, allocations: 1.556 MB / 0.9589 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.8506, allocations: 0.7985 MB / 0.9597 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001885/0.8525, allocations: 1.189 MB / 0.9609 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004837/0.8574, allocations: 3.544 MB / 0.9643 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.8574, allocations: 0 / 0.9643 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8574, allocations: 7.938 kB / 0.9643 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.134e-05/0.8575, allocations: 4 kB / 0.9643 GB, free: 8.035 MB / 0.7169 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.004567/0.862, allocations: 2.759 MB / 0.967 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.8621, allocations: 8.031 kB / 0.967 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003463/0.8656, allocations: 0.5513 MB / 0.9676 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002332/0.8679, allocations: 1.647 MB / 0.9692 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.868, allocations: 135.4 kB / 0.9693 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/0.8682, allocations: 164 kB / 0.9695 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003049/0.8713, allocations: 1.952 MB / 0.9714 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/0.8713, allocations: 8 kB / 0.9714 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.8715, allocations: 72 kB / 0.9715 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.039e-05/0.8715, allocations: 43.94 kB / 0.9715 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00337/0.8749, allocations: 2.117 MB / 0.9736 GB, free: 14.41 MB / 0.7325 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.008031/0.883, allocations: 5.809 MB / 0.9792 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003175/0.8861, allocations: 2.125 MB / 0.9813 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.8875, allocations: 0.7725 MB / 0.9821 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000564/0.888, allocations: 429.6 kB / 0.9825 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001679/0.8897, allocations: 1.017 MB / 0.9835 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 4.739e-06/0.8897, allocations: 0 / 0.9835 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006575/0.8963, allocations: 2.996 MB / 0.9864 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.8965, allocations: 201.2 kB / 0.9866 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/0.8987, allocations: 1.826 MB / 0.9884 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001243/0.8988, allocations: 61.7 kB / 0.9884 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006782/0.8995, allocations: 0.8469 MB / 0.9893 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003799/0.8999, allocations: 481 kB / 0.9897 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000404/0.9003, allocations: 258.8 kB / 0.99 GB, free: 13 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.9004, allocations: 357.9 kB / 0.9903 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.9016, allocations: 0.6038 MB / 0.9909 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.9029, allocations: 0.8092 MB / 0.9917 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002302/0.9052, allocations: 1.357 MB / 0.993 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.9052, allocations: 0 / 0.993 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003794/0.909, allocations: 1.838 MB / 0.9948 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.909, allocations: 13.34 kB / 0.9948 GB, free: 7.938 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.909, allocations: 0 / 0.9948 GB, free: 7.938 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.9101, allocations: 208.1 kB / 0.995 GB, free: 7.719 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.9116, allocations: 343.6 kB / 0.9953 GB, free: 7.383 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00584/0.9175, allocations: 7.313 MB / 1.002 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.9189, allocations: 178.7 kB / 1.003 GB, free: 15.19 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.919, allocations: 51.97 kB / 1.003 GB, free: 15.14 MB / 0.7637 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.0008202/0.9198, allocations: 495.8 kB / 1.003 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002994/0.9201, allocations: 185.7 kB / 1.003 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004201/0.9244, allocations: 2.141 MB / 1.005 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.9244, allocations: 16 kB / 1.005 GB, free: 12.28 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.9244, allocations: 0 / 1.005 GB, free: 12.28 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.9244, allocations: 7.969 kB / 1.005 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006455/0.9309, allocations: 4.025 MB / 1.009 GB, free: 8.164 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.9309, allocations: 0 / 1.009 GB, free: 8.164 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/0.9323, allocations: 323.5 kB / 1.01 GB, free: 7.848 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008266/0.9332, allocations: 196.1 kB / 1.01 GB, free: 7.641 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.947e-05/0.9333, allocations: 43.95 kB / 1.01 GB, free: 7.598 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005552/0.9389, allocations: 7.363 MB / 1.017 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.9389, allocations: 3.938 kB / 1.017 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004508/0.9434, allocations: 2.008 MB / 1.019 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008546/0.9443, allocations: 470.3 kB / 1.02 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/0.9445, allocations: 28 kB / 1.02 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.9457, allocations: 114.3 kB / 1.02 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002472/0.946, allocations: 113.1 kB / 1.02 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/0.9461, allocations: 75.95 kB / 1.02 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001789/0.9479, allocations: 1.306 MB / 1.021 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9479, allocations: 0 / 1.021 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001696/0.9497, allocations: 0.6586 MB / 1.022 GB, free: 10.71 MB / 0.7794 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.001765/0.9514, allocations: 0.7623 MB / 1.023 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003525/0.955, allocations: 2.109 MB / 1.025 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.955, allocations: 8.547 kB / 1.025 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001988/0.957, allocations: 1.422 MB / 1.026 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/0.959, allocations: 0.5423 MB / 1.027 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007073/0.9661, allocations: 3.945 MB / 1.03 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.9672, allocations: 1.552 MB / 1.032 GB, free: 412 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00153/0.9688, allocations: 496.7 kB / 1.032 GB, free: 15.91 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004704/0.9692, allocations: 179.3 kB / 1.033 GB, free: 15.73 MB / 0.795 GB Notification: Performance of SimCode: time 5.21e-07/0.9693, allocations: 3.938 kB / 1.033 GB, free: 15.73 MB / 0.795 GB Notification: Performance of Templates: time 0.05023/1.019, allocations: 31.63 MB / 1.063 GB, free: 452 kB / 0.8106 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)