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.001375/0.001375, allocations: 105 kB / 16.41 MB, free: 6.465 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.001301/0.001301, allocations: 187 kB / 17.34 MB, free: 5.719 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002285/0.002285, allocations: 280.5 kB / 291.5 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.956/0.956, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 99.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.49/0.492, allocations: 86.97 MB / 0.767 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1859/0.678, allocations: 167.2 MB / 0.9303 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02458/0.7027, allocations: 17.23 MB / 0.9472 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001748/0.7044, allocations: 31.81 kB / 0.9472 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001987/0.7065, allocations: 0.5313 MB / 0.9477 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005631/0.7122, allocations: 1.697 MB / 0.9494 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004037/0.7162, allocations: 1.428 MB / 0.9508 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003843/0.7201, allocations: 2.685 MB / 0.9534 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003315/0.7234, allocations: 2.002 MB / 0.9553 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004445/0.7279, allocations: 1.411 MB / 0.9567 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4266/1.155, allocations: 1.091 MB / 0.9578 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000979/1.156, allocations: 222.2 kB / 0.958 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004204/1.16, allocations: 1.555 MB / 0.9595 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009386/1.161, allocations: 0.7957 MB / 0.9603 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001586/1.162, allocations: 1.185 MB / 0.9614 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005826/1.168, allocations: 3.555 MB / 0.9649 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.168, allocations: 0.5938 kB / 0.9649 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.034e-06/1.168, allocations: 0 / 0.9649 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.042e-05/1.168, allocations: 0.9062 kB / 0.9649 GB, free: 5.809 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.005803/1.174, allocations: 2.75 MB / 0.9676 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/1.174, allocations: 10.41 kB / 0.9676 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003876/1.178, allocations: 0.5595 MB / 0.9682 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002814/1.181, allocations: 1.642 MB / 0.9698 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/1.181, allocations: 135.2 kB / 0.9699 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/1.181, allocations: 166.4 kB / 0.9701 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003354/1.185, allocations: 1.958 MB / 0.972 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/1.185, allocations: 1.219 kB / 0.972 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/1.185, allocations: 73 kB / 0.972 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/1.185, allocations: 42.81 kB / 0.9721 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003246/1.188, allocations: 2.119 MB / 0.9741 GB, free: 3.711 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.008621/1.197, allocations: 5.802 MB / 0.9798 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002984/1.2, allocations: 2.137 MB / 0.9819 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/1.201, allocations: 0.7733 MB / 0.9827 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006383/1.202, allocations: 428.5 kB / 0.9831 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001662/1.203, allocations: 1.016 MB / 0.9841 GB, free: 17 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.026e-06/1.203, allocations: 1.094 kB / 0.9841 GB, free: 17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006646/1.21, allocations: 2.987 MB / 0.987 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/1.21, allocations: 200.9 kB / 0.9872 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00246/1.212, allocations: 1.832 MB / 0.989 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002225/1.213, allocations: 58.08 kB / 0.989 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005989/1.213, allocations: 0.8436 MB / 0.9898 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003438/1.214, allocations: 482.4 kB / 0.9903 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003685/1.214, allocations: 259.2 kB / 0.9905 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.214, allocations: 354.8 kB / 0.9909 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/1.215, allocations: 0.6084 MB / 0.9915 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/1.217, allocations: 0.8122 MB / 0.9923 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002184/1.219, allocations: 1.357 MB / 0.9936 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.219, allocations: 1.75 kB / 0.9936 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003778/1.223, allocations: 1.844 MB / 0.9954 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.223, allocations: 2.812 kB / 0.9954 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/1.223, allocations: 4.156 kB / 0.9954 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/1.224, allocations: 211.1 kB / 0.9956 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/1.225, allocations: 340 kB / 0.9959 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00588/1.231, allocations: 7.324 MB / 1.003 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/1.233, allocations: 163.8 kB / 1.003 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/1.233, allocations: 56.42 kB / 1.003 GB, free: 7.695 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.001094/1.234, allocations: 491.1 kB / 1.004 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004938/1.235, allocations: 181.2 kB / 1.004 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004252/1.239, allocations: 2.145 MB / 1.006 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/1.239, allocations: 15.66 kB / 1.006 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/1.239, allocations: 7.312 kB / 1.006 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.666e-05/1.239, allocations: 8.484 kB / 1.006 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006585/1.246, allocations: 4.013 MB / 1.01 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/1.246, allocations: 2.672 kB / 1.01 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/1.247, allocations: 325.5 kB / 1.01 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008715/1.248, allocations: 192.2 kB / 1.01 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/1.248, allocations: 49.42 kB / 1.011 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005847/1.254, allocations: 7.354 MB / 1.018 GB, free: 44 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.254, allocations: 0 / 1.018 GB, free: 44 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004242/1.258, allocations: 2.018 MB / 1.02 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009679/1.259, allocations: 473.1 kB / 1.02 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002659/1.26, allocations: 33.28 kB / 1.02 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/1.261, allocations: 114.2 kB / 1.02 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002511/1.261, allocations: 114.5 kB / 1.02 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/1.261, allocations: 71.11 kB / 1.02 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001758/1.263, allocations: 1.309 MB / 1.022 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9.22e-07/1.263, allocations: 0.9375 kB / 1.022 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001917/1.265, allocations: 0.6578 MB / 1.022 GB, free: 15.3 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.001761/1.267, allocations: 0.7625 MB / 1.023 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003374/1.27, allocations: 2.112 MB / 1.025 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/1.27, allocations: 1.562 kB / 1.025 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002033/1.272, allocations: 1.424 MB / 1.027 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002575/1.275, allocations: 0.5245 MB / 1.027 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007258/1.282, allocations: 3.894 MB / 1.031 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/1.283, allocations: 1.502 MB / 1.032 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007663/1.284, allocations: 195.4 kB / 1.033 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of SimCode: time 7.82e-07/1.284, allocations: 0 / 1.033 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of Templates: time 0.07681/1.361, allocations: 67.45 MB / 1.098 GB, free: 12.98 MB / 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)