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.001659/0.001659, allocations: 108 kB / 15.6 MB, free: 132 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.001845/0.001845, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.514/1.514, allocations: 222.9 MB / 240.2 MB, free: 4.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002558/0.002558, allocations: 294.4 kB / 290.7 MB, free: 1.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.098/1.098, allocations: 178.6 MB / 0.5073 GB, free: 4.551 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002784/0.002784, allocations: 102.4 kB / 0.6064 GB, free: 24.78 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1734, allocations: 89.15 MB / 0.6935 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.5476/0.7211, allocations: 168.4 MB / 0.858 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02515/0.7463, allocations: 17.37 MB / 0.8749 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0027/0.749, allocations: 29.78 kB / 0.875 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002664/0.7518, allocations: 0.5759 MB / 0.8755 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006877/0.7587, allocations: 1.777 MB / 0.8773 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004556/0.7633, allocations: 1.427 MB / 0.8787 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004773/0.7681, allocations: 2.881 MB / 0.8815 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003558/0.7716, allocations: 1.936 MB / 0.8834 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005214/0.7769, allocations: 1.439 MB / 0.8848 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003133/0.78, allocations: 1.113 MB / 0.8859 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0007253/0.7808, allocations: 220 kB / 0.8861 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004342/0.7851, allocations: 1.525 MB / 0.8876 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009784/0.7861, allocations: 0.8024 MB / 0.8883 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001764/0.7879, allocations: 1.228 MB / 0.8895 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005846/0.7938, allocations: 3.54 MB / 0.893 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.7938, allocations: 0 / 0.893 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.415e-06/0.7938, allocations: 0 / 0.893 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.098e-05/0.7939, allocations: 0 / 0.893 GB, free: 15.39 MB / 0.6231 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.005556/0.7994, allocations: 2.79 MB / 0.8957 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.7995, allocations: 11.97 kB / 0.8957 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003806/0.8033, allocations: 0.559 MB / 0.8963 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002748/0.8061, allocations: 1.608 MB / 0.8978 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.8062, allocations: 131.4 kB / 0.898 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/0.8065, allocations: 172 kB / 0.8981 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003776/0.8103, allocations: 1.952 MB / 0.9 GB, free: 8 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/0.8103, allocations: 0 / 0.9 GB, free: 8 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/0.8105, allocations: 76 kB / 0.9001 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.663e-05/0.8106, allocations: 44 kB / 0.9002 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00389/0.8144, allocations: 2.113 MB / 0.9022 GB, free: 5.766 MB / 0.6231 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.01064/0.8251, allocations: 6.248 MB / 0.9083 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003704/0.8288, allocations: 2.132 MB / 0.9104 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001384/0.8302, allocations: 0.7659 MB / 0.9111 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007108/0.831, allocations: 437.6 kB / 0.9116 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001927/0.8329, allocations: 1.024 MB / 0.9126 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=146): time 3.537e-06/0.8329, allocations: 0 / 0.9126 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=146): time 0.007516/0.8404, allocations: 2.989 MB / 0.9155 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.8406, allocations: 201.2 kB / 0.9157 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002828/0.8434, allocations: 1.822 MB / 0.9175 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002413/0.8437, allocations: 57.7 kB / 0.9175 GB, free: 5.418 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009082/0.8446, allocations: 0.8584 MB / 0.9183 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005064/0.8451, allocations: 477 kB / 0.9188 GB, free: 4.074 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004786/0.8456, allocations: 266.7 kB / 0.9191 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002087/0.8458, allocations: 357.9 kB / 0.9194 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.8471, allocations: 0.6077 MB / 0.92 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.8487, allocations: 0.8131 MB / 0.9208 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002676/0.8513, allocations: 1.353 MB / 0.9221 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.8514, allocations: 4 kB / 0.9221 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004516/0.8559, allocations: 1.834 MB / 0.9239 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.8559, allocations: 11.94 kB / 0.9239 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.856, allocations: 0 / 0.9239 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.8571, allocations: 212.1 kB / 0.9241 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.8587, allocations: 339.6 kB / 0.9244 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007421/0.8662, allocations: 7.323 MB / 0.9316 GB, free: 6.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/0.8683, allocations: 169.4 kB / 0.9318 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/0.8684, allocations: 59.95 kB / 0.9318 GB, free: 5.938 MB / 0.6544 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.001216/0.8697, allocations: 488.4 kB / 0.9323 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004761/0.8701, allocations: 185.8 kB / 0.9325 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004991/0.8751, allocations: 2.149 MB / 0.9346 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.859e-05/0.8752, allocations: 16 kB / 0.9346 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.8752, allocations: 4 kB / 0.9346 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.636e-05/0.8752, allocations: 7.969 kB / 0.9346 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007782/0.883, allocations: 4.036 MB / 0.9385 GB, free: 14.95 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.8831, allocations: 0 / 0.9385 GB, free: 14.95 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/0.8846, allocations: 323.5 kB / 0.9388 GB, free: 14.63 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009087/0.8855, allocations: 200.1 kB / 0.939 GB, free: 14.42 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.8856, allocations: 39.97 kB / 0.9391 GB, free: 14.38 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006933/0.8926, allocations: 7.364 MB / 0.9462 GB, free: 6.309 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.8926, allocations: 3.938 kB / 0.9463 GB, free: 6.305 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004683/0.8973, allocations: 2.01 MB / 0.9482 GB, free: 4.262 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009766/0.8983, allocations: 470.3 kB / 0.9487 GB, free: 3.781 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002488/0.8986, allocations: 36 kB / 0.9487 GB, free: 3.746 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/0.8999, allocations: 103.3 kB / 0.9488 GB, free: 3.648 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002733/0.9002, allocations: 117.2 kB / 0.9489 GB, free: 3.535 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001589/0.9003, allocations: 75.94 kB / 0.949 GB, free: 3.461 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001873/0.9022, allocations: 1.306 MB / 0.9503 GB, free: 2.16 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9022, allocations: 0 / 0.9503 GB, free: 2.16 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001869/0.9041, allocations: 0.686 MB / 0.9509 GB, free: 1.473 MB / 0.67 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.002386/0.9065, allocations: 0.7498 MB / 0.9517 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005981/0.9125, allocations: 2.547 MB / 0.9541 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/0.9125, allocations: 8.547 kB / 0.9542 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002493/0.915, allocations: 1.426 MB / 0.9555 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002922/0.918, allocations: 0.5497 MB / 0.9561 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007266/0.9252, allocations: 3.899 MB / 0.9599 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/0.9266, allocations: 1.552 MB / 0.9614 GB, free: 6.758 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00203/0.9287, allocations: 0.4931 MB / 0.9619 GB, free: 6.258 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004907/0.9292, allocations: 167.4 kB / 0.962 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of SimCode: time 5.31e-07/0.9292, allocations: 0 / 0.962 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of Templates: time 0.0608/0.99, allocations: 32.17 MB / 0.9935 GB, free: 6.305 MB / 0.7169 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)