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.005638/0.005638, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001175/0.001175, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.349/1.349, 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.002212/0.002212, allocations: 283.7 kB / 290.8 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 0.9601/0.9601, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 91.84 kB / 0.6814 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4859/0.4876, allocations: 86.98 MB / 0.7664 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1727/0.6604, allocations: 167.2 MB / 0.9297 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01922/0.6797, allocations: 17.23 MB / 0.9465 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001322/0.681, allocations: 31.81 kB / 0.9465 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.6825, allocations: 0.543 MB / 0.9471 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004247/0.6868, allocations: 1.723 MB / 0.9487 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003155/0.69, allocations: 1.432 MB / 0.9501 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002593/0.6926, allocations: 2.689 MB / 0.9528 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002127/0.6947, allocations: 1.994 MB / 0.9547 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003362/0.6981, allocations: 1.449 MB / 0.9561 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4717/1.17, allocations: 1.078 MB / 0.9572 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0009715/1.171, allocations: 222.1 kB / 0.9574 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004217/1.175, allocations: 1.554 MB / 0.9589 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009337/1.176, allocations: 0.797 MB / 0.9597 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001494/1.178, allocations: 1.185 MB / 0.9608 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005673/1.183, allocations: 3.54 MB / 0.9643 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.183, allocations: 0.875 kB / 0.9643 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.394e-06/1.183, allocations: 0 / 0.9643 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.557e-05/1.183, allocations: 0.875 kB / 0.9643 GB, free: 5.762 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.005094/1.188, allocations: 2.737 MB / 0.967 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/1.188, allocations: 10.58 kB / 0.967 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003663/1.192, allocations: 0.5555 MB / 0.9675 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002511/1.195, allocations: 1.63 MB / 0.9691 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/1.195, allocations: 136.5 kB / 0.9692 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002456/1.195, allocations: 170.3 kB / 0.9694 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003061/1.198, allocations: 1.957 MB / 0.9713 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/1.198, allocations: 3.031 kB / 0.9713 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/1.198, allocations: 72.69 kB / 0.9714 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.095e-05/1.198, allocations: 45.19 kB / 0.9714 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003154/1.201, allocations: 2.116 MB / 0.9735 GB, free: 3.68 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.007677/1.209, allocations: 5.814 MB / 0.9792 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003068/1.212, allocations: 2.131 MB / 0.9813 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/1.213, allocations: 0.7733 MB / 0.982 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005625/1.214, allocations: 429.7 kB / 0.9824 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001568/1.216, allocations: 1.009 MB / 0.9834 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.056e-06/1.216, allocations: 4.156 kB / 0.9834 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006135/1.222, allocations: 2.987 MB / 0.9863 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/1.222, allocations: 196.4 kB / 0.9865 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/1.224, allocations: 1.804 MB / 0.9883 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/1.224, allocations: 65.95 kB / 0.9883 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005953/1.225, allocations: 0.8358 MB / 0.9892 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000301/1.225, allocations: 490.2 kB / 0.9896 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000369/1.225, allocations: 256 kB / 0.9899 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001407/1.226, allocations: 354.3 kB / 0.9902 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/1.227, allocations: 0.6031 MB / 0.9908 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/1.228, allocations: 0.8108 MB / 0.9916 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002218/1.23, allocations: 1.361 MB / 0.9929 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/1.23, allocations: 1.125 kB / 0.9929 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003495/1.234, allocations: 1.832 MB / 0.9947 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/1.234, allocations: 9.688 kB / 0.9947 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/1.234, allocations: 3.219 kB / 0.9947 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009587/1.235, allocations: 218.1 kB / 0.9949 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/1.236, allocations: 334.4 kB / 0.9953 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005717/1.242, allocations: 7.32 MB / 1.002 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/1.243, allocations: 166.2 kB / 1.003 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/1.244, allocations: 55.67 kB / 1.003 GB, free: 7.664 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.001082/1.245, allocations: 492.5 kB / 1.003 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003373/1.245, allocations: 181.4 kB / 1.003 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004221/1.249, allocations: 2.137 MB / 1.005 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/1.249, allocations: 15.84 kB / 1.005 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/1.249, allocations: 8.5 kB / 1.005 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/1.249, allocations: 8.672 kB / 1.005 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00648/1.256, allocations: 4.001 MB / 1.009 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.256, allocations: 3.094 kB / 1.009 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/1.257, allocations: 318.6 kB / 1.01 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008172/1.258, allocations: 200.5 kB / 1.01 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/1.258, allocations: 47.3 kB / 1.01 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005943/1.264, allocations: 7.362 MB / 1.017 GB, free: 16 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.264, allocations: 10.45 kB / 1.017 GB, free: 12 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004273/1.268, allocations: 2.004 MB / 1.019 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009714/1.269, allocations: 475.5 kB / 1.019 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004409/1.27, allocations: 31.36 kB / 1.019 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/1.271, allocations: 108.4 kB / 1.02 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002797/1.272, allocations: 117.7 kB / 1.02 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002056/1.272, allocations: 73.25 kB / 1.02 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002599/1.274, allocations: 1.289 MB / 1.021 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.2e-07/1.274, allocations: 1.375 kB / 1.021 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00254/1.277, allocations: 0.659 MB / 1.022 GB, free: 15.27 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.002291/1.279, allocations: 0.7541 MB / 1.022 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003678/1.283, allocations: 2.109 MB / 1.024 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.283, allocations: 3.562 kB / 1.024 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002072/1.285, allocations: 1.428 MB / 1.026 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002697/1.288, allocations: 0.5287 MB / 1.026 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009289/1.297, allocations: 3.936 MB / 1.03 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00161/1.299, allocations: 1.534 MB / 1.032 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002018/1.301, allocations: 0.4973 MB / 1.032 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000579/1.301, allocations: 170.6 kB / 1.032 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of SimCode: time 1.814e-06/1.301, allocations: 0 / 1.032 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of Templates: time 0.05561/1.357, allocations: 31.58 MB / 1.063 GB, free: 488 kB / 0.7637 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)