Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.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.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions") translateModel(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001559, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.00182/0.00182, allocations: 187 kB / 17.34 MB, free: 5.742 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.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00227/0.00227, allocations: 291 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.104/1.104, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 95.84 kB / 0.6821 GB, free: 7.039 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4703/0.4721, allocations: 86.97 MB / 0.767 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1715/0.6437, allocations: 167.2 MB / 0.9303 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01943/0.6631, allocations: 17.23 MB / 0.9472 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.6647, allocations: 31.81 kB / 0.9472 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.6663, allocations: 0.5275 MB / 0.9477 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004565/0.6708, allocations: 1.696 MB / 0.9494 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003338/0.6742, allocations: 1.432 MB / 0.9508 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003195/0.6774, allocations: 2.681 MB / 0.9534 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002812/0.6802, allocations: 1.998 MB / 0.9553 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004019/0.6842, allocations: 1.416 MB / 0.9567 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5126/1.197, allocations: 1.085 MB / 0.9578 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00109/1.198, allocations: 221.9 kB / 0.958 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004527/1.202, allocations: 1.552 MB / 0.9595 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009749/1.203, allocations: 0.7938 MB / 0.9603 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001508/1.205, allocations: 1.181 MB / 0.9614 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006207/1.211, allocations: 3.546 MB / 0.9649 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.211, allocations: 0 / 0.9649 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.779e-06/1.211, allocations: 0 / 0.9649 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.365e-05/1.211, allocations: 0.8438 kB / 0.9649 GB, free: 5.75 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.005691/1.217, allocations: 2.734 MB / 0.9676 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/1.217, allocations: 10.69 kB / 0.9676 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003863/1.221, allocations: 0.5578 MB / 0.9681 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002646/1.224, allocations: 1.633 MB / 0.9697 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/1.224, allocations: 134.7 kB / 0.9698 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/1.224, allocations: 165 kB / 0.97 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003156/1.227, allocations: 1.958 MB / 0.9719 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/1.227, allocations: 0 / 0.9719 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001668/1.227, allocations: 74.84 kB / 0.972 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-05/1.227, allocations: 42.94 kB / 0.972 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003156/1.231, allocations: 2.116 MB / 0.9741 GB, free: 3.668 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.008323/1.239, allocations: 5.813 MB / 0.9798 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003027/1.242, allocations: 2.138 MB / 0.9818 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/1.243, allocations: 0.773 MB / 0.9826 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005868/1.244, allocations: 430.3 kB / 0.983 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00163/1.245, allocations: 1.011 MB / 0.984 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.346e-06/1.245, allocations: 0 / 0.984 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006595/1.252, allocations: 2.988 MB / 0.9869 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/1.252, allocations: 198.2 kB / 0.9871 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002435/1.255, allocations: 1.809 MB / 0.9889 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003049/1.255, allocations: 56.95 kB / 0.9889 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006285/1.255, allocations: 0.8363 MB / 0.9897 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003968/1.256, allocations: 492.2 kB / 0.9902 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003724/1.256, allocations: 257.2 kB / 0.9905 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.256, allocations: 355.6 kB / 0.9908 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/1.258, allocations: 0.6044 MB / 0.9914 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/1.259, allocations: 0.8134 MB / 0.9922 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002202/1.261, allocations: 1.359 MB / 0.9935 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/1.261, allocations: 0.75 kB / 0.9935 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003941/1.265, allocations: 1.839 MB / 0.9953 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/1.265, allocations: 2.781 kB / 0.9953 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/1.265, allocations: 5.047 kB / 0.9953 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/1.266, allocations: 208.2 kB / 0.9955 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/1.268, allocations: 335.2 kB / 0.9958 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005924/1.273, allocations: 7.319 MB / 1.003 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/1.276, allocations: 163.5 kB / 1.003 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/1.276, allocations: 60.38 kB / 1.003 GB, free: 7.66 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.001099/1.277, allocations: 489 kB / 1.004 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005043/1.277, allocations: 183.9 kB / 1.004 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004146/1.281, allocations: 2.144 MB / 1.006 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/1.282, allocations: 18.78 kB / 1.006 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/1.282, allocations: 5.781 kB / 1.006 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/1.282, allocations: 9.438 kB / 1.006 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00694/1.288, allocations: 4.001 MB / 1.01 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/1.289, allocations: 0 / 1.01 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/1.29, allocations: 324.1 kB / 1.01 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008586/1.291, allocations: 199.7 kB / 1.01 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/1.291, allocations: 44.7 kB / 1.01 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005758/1.297, allocations: 7.359 MB / 1.018 GB, free: 8 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.297, allocations: 0 / 1.018 GB, free: 8 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004868/1.302, allocations: 2.007 MB / 1.02 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/1.303, allocations: 478.8 kB / 1.02 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005313/1.303, allocations: 31.59 kB / 1.02 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/1.305, allocations: 119.6 kB / 1.02 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003056/1.305, allocations: 111.7 kB / 1.02 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002049/1.306, allocations: 70.72 kB / 1.02 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00225/1.308, allocations: 1.293 MB / 1.022 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/1.308, allocations: 0 / 1.022 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002439/1.31, allocations: 0.6588 MB / 1.022 GB, free: 15.26 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.001966/1.312, allocations: 0.7524 MB / 1.023 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003516/1.316, allocations: 2.11 MB / 1.025 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/1.316, allocations: 5.469 kB / 1.025 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002021/1.318, allocations: 1.422 MB / 1.026 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002766/1.321, allocations: 0.5358 MB / 1.027 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008327/1.329, allocations: 3.871 MB / 1.031 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/1.33, allocations: 1.488 MB / 1.032 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00093/1.331, allocations: 194.5 kB / 1.032 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of SimCode: time 7.21e-07/1.331, allocations: 0 / 1.032 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of Templates: time 0.07362/1.405, allocations: 67.18 MB / 1.098 GB, free: 13.34 MB / 0.8106 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)