Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001098/0.001098, allocations: 91.84 kB / 15.7 MB, free: 472 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.000989/0.0009891, allocations: 170.2 kB / 16.58 MB, free: 6.043 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.355/1.355, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.692/0.692, allocations: 115.5 MB / 407.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.0002971, allocations: 12 kB / 495.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.13, allocations: 77.53 MB / 0.5593 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.41/0.54, allocations: 152.9 MB / 0.7086 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01978/0.5598, allocations: 16.09 MB / 0.7243 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.5613, allocations: 27.81 kB / 0.7243 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.5628, allocations: 417.1 kB / 0.7247 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004326/0.5671, allocations: 1.415 MB / 0.7261 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003193/0.5703, allocations: 1.117 MB / 0.7272 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003579/0.5739, allocations: 2.777 MB / 0.7299 GB, free: 8.371 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002167/0.5761, allocations: 1.458 MB / 0.7313 GB, free: 6.871 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002202/0.5783, allocations: 1.035 MB / 0.7323 GB, free: 5.832 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.58, allocations: 0.8867 MB / 0.7332 GB, free: 4.941 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002392/0.5802, allocations: 52 kB / 0.7333 GB, free: 4.891 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/0.5829, allocations: 1.014 MB / 0.7342 GB, free: 3.875 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006127/0.5835, allocations: 0.5918 MB / 0.7348 GB, free: 3.281 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006307/0.5842, allocations: 432.4 kB / 0.7352 GB, free: 2.852 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003309/0.5875, allocations: 2.583 MB / 0.7378 GB, free: 268 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5875, allocations: 0 / 0.7378 GB, free: 268 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5875, allocations: 0 / 0.7378 GB, free: 268 kB / 0.545 GB Notification: Performance of Transformations before backend: time 4.139e-05/0.5876, allocations: 0 / 0.7378 GB, free: 268 kB / 0.545 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.004285/0.5919, allocations: 2.366 MB / 0.7401 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.5919, allocations: 12.03 kB / 0.7401 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003586/0.5955, allocations: 0.5668 MB / 0.7406 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002572/0.5981, allocations: 1.543 MB / 0.7421 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.5982, allocations: 135.4 kB / 0.7423 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/0.5985, allocations: 164 kB / 0.7424 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003628/0.6021, allocations: 1.949 MB / 0.7443 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.6021, allocations: 0 / 0.7443 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000163/0.6023, allocations: 75.98 kB / 0.7444 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.214e-05/0.6023, allocations: 44 kB / 0.7444 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003572/0.6059, allocations: 2.117 MB / 0.7465 GB, free: 7.129 MB / 0.5606 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.009643/0.6156, allocations: 6.266 MB / 0.7526 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003507/0.6191, allocations: 2.134 MB / 0.7547 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.6205, allocations: 0.7764 MB / 0.7555 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005984/0.6211, allocations: 441.6 kB / 0.7559 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001787/0.6229, allocations: 1.013 MB / 0.7569 GB, free: 12 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=146): time 3.386e-06/0.6229, allocations: 0 / 0.7569 GB, free: 12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=146): time 0.006831/0.6298, allocations: 3.02 MB / 0.7598 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.6299, allocations: 205.2 kB / 0.76 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002492/0.6324, allocations: 1.81 MB / 0.7618 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002094/0.6326, allocations: 61.7 kB / 0.7619 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007359/0.6334, allocations: 0.847 MB / 0.7627 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004513/0.6338, allocations: 477 kB / 0.7631 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.347e-05/0.6339, allocations: 28 kB / 0.7632 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.6341, allocations: 365.9 kB / 0.7635 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/0.6353, allocations: 0.6077 MB / 0.7641 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.6367, allocations: 0.8092 MB / 0.7649 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.638, allocations: 0.6818 MB / 0.7656 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.638, allocations: 0 / 0.7656 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003852/0.6418, allocations: 1.854 MB / 0.7674 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.6419, allocations: 8 kB / 0.7674 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.6419, allocations: 0 / 0.7674 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009667/0.6429, allocations: 212.1 kB / 0.7676 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002282/0.6452, allocations: 343.6 kB / 0.7679 GB, free: 424 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006152/0.6513, allocations: 6.827 MB / 0.7746 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/0.6533, allocations: 210.7 kB / 0.7748 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/0.6535, allocations: 55.95 kB / 0.7748 GB, free: 8.664 MB / 0.5919 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001005/0.6545, allocations: 487.2 kB / 0.7753 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003487/0.6549, allocations: 185.8 kB / 0.7755 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004734/0.6596, allocations: 2.164 MB / 0.7776 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.6597, allocations: 16 kB / 0.7776 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.6597, allocations: 0 / 0.7776 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.355e-05/0.6597, allocations: 7.969 kB / 0.7776 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007419/0.6672, allocations: 4.019 MB / 0.7815 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.6672, allocations: 4 kB / 0.7815 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/0.6687, allocations: 331.5 kB / 0.7819 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009153/0.6696, allocations: 208.1 kB / 0.7821 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/0.6698, allocations: 43.92 kB / 0.7821 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006097/0.6759, allocations: 6.847 MB / 0.7888 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.6759, allocations: 4.062 kB / 0.7888 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004388/0.6803, allocations: 2.018 MB / 0.7908 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.6813, allocations: 494.1 kB / 0.7912 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000364/0.6817, allocations: 35.98 kB / 0.7913 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.6832, allocations: 150.3 kB / 0.7914 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/0.6835, allocations: 121.1 kB / 0.7915 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001768/0.6837, allocations: 67.95 kB / 0.7916 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002/0.6857, allocations: 1.298 MB / 0.7929 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6857, allocations: 0 / 0.7929 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002042/0.6877, allocations: 0.6898 MB / 0.7935 GB, free: 4.664 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001807/0.6895, allocations: 0.7498 MB / 0.7943 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003748/0.6933, allocations: 2.113 MB / 0.7963 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/0.6933, allocations: 4.547 kB / 0.7963 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002106/0.6954, allocations: 1.43 MB / 0.7977 GB, free: 452 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/0.6979, allocations: 0.5027 MB / 0.7982 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007354/0.7052, allocations: 4.631 MB / 0.8027 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/0.7064, allocations: 1.544 MB / 0.8042 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00199/0.7084, allocations: 0.501 MB / 0.8047 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004892/0.7089, allocations: 167.4 kB / 0.8049 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of SimCode: time 5.71e-07/0.7089, allocations: 0 / 0.8049 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of Templates: time 0.2831/0.992, allocations: 29.67 MB / 0.8339 GB, free: 224.5 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)