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.005164/0.005164, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001129/0.001129, allocations: 193 kB / 16.67 MB, free: 5.969 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002035/0.002035, allocations: 284.8 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9563/0.9563, allocations: 169.2 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 87.86 kB / 0.6814 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.497/0.4986, allocations: 86.97 MB / 0.7664 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1761/0.6748, allocations: 167.2 MB / 0.9297 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02199/0.6968, allocations: 17.23 MB / 0.9465 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.6984, allocations: 31.81 kB / 0.9465 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.7, allocations: 0.5274 MB / 0.9471 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004757/0.7047, allocations: 1.688 MB / 0.9487 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003412/0.7082, allocations: 1.432 MB / 0.9501 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002963/0.7111, allocations: 2.685 MB / 0.9527 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002628/0.7138, allocations: 1.998 MB / 0.9547 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004255/0.718, allocations: 1.404 MB / 0.956 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5338/1.252, allocations: 1.077 MB / 0.9571 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001035/1.253, allocations: 222.3 kB / 0.9573 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004211/1.257, allocations: 1.556 MB / 0.9588 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009111/1.258, allocations: 0.7983 MB / 0.9596 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001497/1.26, allocations: 1.189 MB / 0.9608 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00588/1.266, allocations: 3.564 MB / 0.9642 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/1.266, allocations: 3.781 kB / 0.9643 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/1.266, allocations: 0 / 0.9643 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.462e-05/1.266, allocations: 0.875 kB / 0.9643 GB, free: 5.746 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.004644/1.27, allocations: 2.833 MB / 0.967 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/1.27, allocations: 10.83 kB / 0.967 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003534/1.274, allocations: 0.5724 MB / 0.9676 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/1.276, allocations: 1.657 MB / 0.9692 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.922e-05/1.276, allocations: 129.1 kB / 0.9693 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/1.276, allocations: 170.6 kB / 0.9695 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002996/1.279, allocations: 1.954 MB / 0.9714 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/1.28, allocations: 0.7812 kB / 0.9714 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/1.28, allocations: 74.81 kB / 0.9715 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.111e-05/1.28, allocations: 42.34 kB / 0.9715 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0031/1.283, allocations: 2.12 MB / 0.9736 GB, free: 3.539 MB / 0.7169 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.007554/1.29, allocations: 5.825 MB / 0.9793 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003079/1.293, allocations: 2.135 MB / 0.9814 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/1.295, allocations: 0.7708 MB / 0.9821 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005705/1.295, allocations: 428.8 kB / 0.9825 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001598/1.297, allocations: 1.015 MB / 0.9835 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.877e-06/1.297, allocations: 0 / 0.9835 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006438/1.303, allocations: 3.003 MB / 0.9864 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/1.303, allocations: 203.7 kB / 0.9866 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/1.306, allocations: 1.825 MB / 0.9884 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001561/1.306, allocations: 56.86 kB / 0.9885 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000635/1.307, allocations: 0.8627 MB / 0.9893 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003519/1.307, allocations: 0.5007 MB / 0.9898 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003905/1.307, allocations: 256.2 kB / 0.99 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002015/1.308, allocations: 355.2 kB / 0.9904 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/1.309, allocations: 0.6042 MB / 0.991 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/1.31, allocations: 0.8079 MB / 0.9918 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/1.312, allocations: 1.361 MB / 0.9931 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.312, allocations: 0 / 0.9931 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003816/1.316, allocations: 1.848 MB / 0.9949 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/1.316, allocations: 5.781 kB / 0.9949 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.316, allocations: 5.188 kB / 0.9949 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009607/1.317, allocations: 210.9 kB / 0.9951 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/1.318, allocations: 341.6 kB / 0.9954 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006602/1.325, allocations: 7.33 MB / 1.003 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/1.327, allocations: 164.8 kB / 1.003 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/1.327, allocations: 56.53 kB / 1.003 GB, free: 7.457 MB / 0.7325 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.00124/1.328, allocations: 493.6 kB / 1.003 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003634/1.328, allocations: 191.4 kB / 1.003 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00426/1.333, allocations: 2.15 MB / 1.006 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/1.333, allocations: 15.72 kB / 1.006 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/1.333, allocations: 4.719 kB / 1.006 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/1.333, allocations: 11.03 kB / 1.006 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007418/1.34, allocations: 4.009 MB / 1.01 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/1.34, allocations: 0 / 1.01 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001485/1.342, allocations: 318.2 kB / 1.01 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009528/1.343, allocations: 199.3 kB / 1.01 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/1.343, allocations: 47.88 kB / 1.01 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006387/1.349, allocations: 7.363 MB / 1.017 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.349, allocations: 0 / 1.017 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004169/1.353, allocations: 2.021 MB / 1.019 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009186/1.354, allocations: 488.8 kB / 1.02 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/1.354, allocations: 28.38 kB / 1.02 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/1.356, allocations: 112 kB / 1.02 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002554/1.356, allocations: 112.5 kB / 1.02 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/1.356, allocations: 70.94 kB / 1.02 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001895/1.358, allocations: 1.31 MB / 1.021 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.71e-07/1.358, allocations: 0.9062 kB / 1.021 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001985/1.36, allocations: 0.6662 MB / 1.022 GB, free: 15.02 MB / 0.7481 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.001771/1.362, allocations: 0.7599 MB / 1.023 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003382/1.365, allocations: 2.108 MB / 1.025 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/1.365, allocations: 0.5625 kB / 1.025 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001968/1.367, allocations: 1.435 MB / 1.026 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/1.369, allocations: 0.5331 MB / 1.027 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007369/1.377, allocations: 4.018 MB / 1.031 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/1.378, allocations: 1.544 MB / 1.032 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001884/1.38, allocations: 0.4926 MB / 1.033 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004523/1.38, allocations: 178 kB / 1.033 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of SimCode: time 1.042e-06/1.38, allocations: 3.969 kB / 1.033 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of Templates: time 0.05113/1.432, allocations: 31.63 MB / 1.064 GB, free: 12 kB / 0.7637 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)