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.001385/0.001385, allocations: 105.9 kB / 16.4 MB, free: 6.395 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.001348/0.001348, allocations: 194.9 kB / 17.34 MB, free: 5.691 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.403/1.403, allocations: 222.9 MB / 241 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.002588/0.002588, allocations: 296.6 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.002/1.002, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002842/0.002842, allocations: 91.86 kB / 0.6821 GB, free: 7.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.4313, allocations: 86.98 MB / 0.767 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1911/0.6224, allocations: 167.7 MB / 0.9308 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02421/0.6466, allocations: 17.25 MB / 0.9476 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002132/0.6488, allocations: 31.81 kB / 0.9477 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00255/0.6513, allocations: 0.5547 MB / 0.9482 GB, free: 9.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005637/0.657, allocations: 1.727 MB / 0.9499 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004244/0.6612, allocations: 1.436 MB / 0.9513 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004081/0.6653, allocations: 2.673 MB / 0.9539 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002588/0.6679, allocations: 1.67 MB / 0.9555 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004766/0.6726, allocations: 1.454 MB / 0.957 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4525/1.125, allocations: 1.08 MB / 0.958 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008651/1.126, allocations: 221.5 kB / 0.9582 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004135/1.13, allocations: 1.559 MB / 0.9597 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008951/1.131, allocations: 0.7981 MB / 0.9605 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0014/1.132, allocations: 1.179 MB / 0.9617 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005361/1.138, allocations: 3.562 MB / 0.9651 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.138, allocations: 0 / 0.9651 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/1.138, allocations: 0.9688 kB / 0.9652 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.336e-05/1.138, allocations: 0 / 0.9652 GB, free: 5.48 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.005181/1.143, allocations: 2.821 MB / 0.9679 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/1.143, allocations: 11.36 kB / 0.9679 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003954/1.147, allocations: 0.5664 MB / 0.9685 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002569/1.15, allocations: 1.645 MB / 0.9701 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/1.15, allocations: 129.5 kB / 0.9702 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002193/1.15, allocations: 171 kB / 0.9704 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003082/1.153, allocations: 1.955 MB / 0.9723 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/1.153, allocations: 0 / 0.9723 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000162/1.153, allocations: 75.19 kB / 0.9723 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/1.153, allocations: 42.03 kB / 0.9724 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003159/1.156, allocations: 2.119 MB / 0.9745 GB, free: 3.293 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.008305/1.165, allocations: 5.833 MB / 0.9801 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/1.168, allocations: 2.044 MB / 0.9821 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/1.169, allocations: 0.7126 MB / 0.9828 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006205/1.17, allocations: 429.2 kB / 0.9833 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001549/1.171, allocations: 1.021 MB / 0.9842 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.577e-06/1.171, allocations: 0 / 0.9842 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006474/1.178, allocations: 2.984 MB / 0.9872 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/1.178, allocations: 202.2 kB / 0.9874 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/1.18, allocations: 1.81 MB / 0.9891 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001867/1.18, allocations: 57.36 kB / 0.9892 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005905/1.181, allocations: 0.8537 MB / 0.99 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003491/1.181, allocations: 0.4998 MB / 0.9905 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003528/1.181, allocations: 252.8 kB / 0.9907 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001729/1.182, allocations: 358.5 kB / 0.9911 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/1.183, allocations: 0.6072 MB / 0.9917 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/1.184, allocations: 0.8122 MB / 0.9925 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002169/1.186, allocations: 1.353 MB / 0.9938 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.186, allocations: 4.219 kB / 0.9938 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003706/1.19, allocations: 1.847 MB / 0.9956 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/1.19, allocations: 7.125 kB / 0.9956 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.19, allocations: 1.094 kB / 0.9956 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/1.191, allocations: 208.3 kB / 0.9958 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/1.192, allocations: 338.8 kB / 0.9961 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006786/1.199, allocations: 7.329 MB / 1.003 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/1.201, allocations: 157.2 kB / 1.003 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/1.201, allocations: 58.45 kB / 1.003 GB, free: 7.211 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.001026/1.202, allocations: 496.4 kB / 1.004 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000424/1.202, allocations: 192.2 kB / 1.004 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0041/1.207, allocations: 2.132 MB / 1.006 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/1.207, allocations: 19.55 kB / 1.006 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/1.207, allocations: 8.188 kB / 1.006 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/1.207, allocations: 7.938 kB / 1.006 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00649/1.213, allocations: 4.007 MB / 1.01 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/1.213, allocations: 0 / 1.01 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/1.214, allocations: 325 kB / 1.01 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008457/1.215, allocations: 189.8 kB / 1.011 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/1.215, allocations: 48.11 kB / 1.011 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006714/1.222, allocations: 7.36 MB / 1.018 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.222, allocations: 0.7812 kB / 1.018 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004249/1.226, allocations: 2.014 MB / 1.02 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/1.228, allocations: 480.7 kB / 1.02 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002456/1.228, allocations: 38.62 kB / 1.02 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/1.229, allocations: 112.6 kB / 1.02 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002426/1.229, allocations: 114 kB / 1.021 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/1.229, allocations: 70.72 kB / 1.021 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001747/1.231, allocations: 1.294 MB / 1.022 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/1.231, allocations: 1.031 kB / 1.022 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00234/1.234, allocations: 0.6694 MB / 1.023 GB, free: 14.77 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.002392/1.236, allocations: 0.7549 MB / 1.023 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00356/1.239, allocations: 2.053 MB / 1.025 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/1.24, allocations: 0.5625 kB / 1.025 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002024/1.242, allocations: 1.372 MB / 1.027 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/1.244, allocations: 0.5274 MB / 1.027 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00753/1.252, allocations: 4 MB / 1.031 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/1.253, allocations: 1.541 MB / 1.033 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001858/1.255, allocations: 0.4965 MB / 1.033 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004867/1.255, allocations: 171.7 kB / 1.033 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of SimCode: time 1.694e-06/1.255, allocations: 0 / 1.033 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of Templates: time 0.05612/1.311, allocations: 31.78 MB / 1.064 GB, free: 236 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)