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.001269/0.001275, allocations: 108.2 kB / 16.41 MB, free: 6.504 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.001293/0.001293, 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002269/0.002269, allocations: 295.3 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 0.9832/0.9832, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 91.84 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4707/0.4727, allocations: 86.99 MB / 0.767 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.184/0.6568, allocations: 167.2 MB / 0.9303 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0258/0.6826, allocations: 17.24 MB / 0.9472 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/0.6844, allocations: 31.81 kB / 0.9472 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001887/0.6863, allocations: 0.5392 MB / 0.9477 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005371/0.6917, allocations: 1.727 MB / 0.9494 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003872/0.6956, allocations: 1.443 MB / 0.9508 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003746/0.6994, allocations: 2.681 MB / 0.9534 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002981/0.7024, allocations: 1.99 MB / 0.9554 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004148/0.7065, allocations: 1.456 MB / 0.9568 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4595/1.166, allocations: 1.079 MB / 0.9578 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000966/1.167, allocations: 226.2 kB / 0.9581 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004169/1.171, allocations: 1.552 MB / 0.9596 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008833/1.172, allocations: 0.7944 MB / 0.9604 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001552/1.174, allocations: 1.182 MB / 0.9615 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005527/1.179, allocations: 3.541 MB / 0.965 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/1.179, allocations: 3.469 kB / 0.965 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/1.179, allocations: 1.641 kB / 0.965 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.943e-05/1.179, allocations: 0.9375 kB / 0.965 GB, free: 5.824 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.004748/1.184, allocations: 2.734 MB / 0.9676 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/1.184, allocations: 11.84 kB / 0.9677 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003588/1.188, allocations: 0.5529 MB / 0.9682 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002211/1.19, allocations: 1.635 MB / 0.9698 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.565e-05/1.19, allocations: 132.8 kB / 0.9699 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/1.19, allocations: 164.7 kB / 0.9701 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003032/1.193, allocations: 1.96 MB / 0.972 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/1.193, allocations: 2.406 kB / 0.972 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/1.193, allocations: 75.47 kB / 0.9721 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/1.193, allocations: 42.53 kB / 0.9721 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00307/1.197, allocations: 2.112 MB / 0.9742 GB, free: 3.742 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.007576/1.204, allocations: 5.816 MB / 0.9798 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003024/1.207, allocations: 2.141 MB / 0.9819 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/1.208, allocations: 0.7713 MB / 0.9827 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005704/1.209, allocations: 428.6 kB / 0.9831 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001563/1.21, allocations: 1.014 MB / 0.9841 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.607e-06/1.211, allocations: 0.7812 kB / 0.9841 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006216/1.217, allocations: 2.988 MB / 0.987 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/1.217, allocations: 200.8 kB / 0.9872 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/1.219, allocations: 1.804 MB / 0.989 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/1.219, allocations: 59.61 kB / 0.989 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005536/1.22, allocations: 0.8337 MB / 0.9898 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003157/1.22, allocations: 490.5 kB / 0.9903 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003732/1.22, allocations: 256.9 kB / 0.9905 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.22, allocations: 352.1 kB / 0.9909 GB, free: 15 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/1.222, allocations: 0.6031 MB / 0.9915 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/1.223, allocations: 0.8143 MB / 0.9923 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002171/1.225, allocations: 1.356 MB / 0.9936 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.225, allocations: 0 / 0.9936 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003563/1.228, allocations: 1.842 MB / 0.9954 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/1.228, allocations: 4.594 kB / 0.9954 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.229, allocations: 0.8125 kB / 0.9954 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009626/1.229, allocations: 212.1 kB / 0.9956 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/1.231, allocations: 342.9 kB / 0.9959 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005962/1.237, allocations: 7.319 MB / 1.003 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/1.239, allocations: 164.8 kB / 1.003 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/1.239, allocations: 57.66 kB / 1.003 GB, free: 7.727 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.0009756/1.24, allocations: 489.3 kB / 1.004 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003449/1.24, allocations: 183.1 kB / 1.004 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004099/1.244, allocations: 2.145 MB / 1.006 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/1.244, allocations: 16.44 kB / 1.006 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/1.244, allocations: 7.312 kB / 1.006 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/1.244, allocations: 6.562 kB / 1.006 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006173/1.25, allocations: 3.998 MB / 1.01 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/1.25, allocations: 0 / 1.01 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/1.252, allocations: 321.1 kB / 1.01 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008314/1.253, allocations: 203.7 kB / 1.01 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-05/1.253, allocations: 41.25 kB / 1.01 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005714/1.258, allocations: 7.36 MB / 1.018 GB, free: 76 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.258, allocations: 4.031 kB / 1.018 GB, free: 76 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003997/1.262, allocations: 2.009 MB / 1.02 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008407/1.263, allocations: 475.9 kB / 1.02 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002311/1.264, allocations: 28.62 kB / 1.02 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/1.265, allocations: 109.6 kB / 1.02 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002526/1.265, allocations: 112.3 kB / 1.02 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/1.265, allocations: 72.33 kB / 1.02 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001771/1.267, allocations: 1.296 MB / 1.022 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.267, allocations: 0.8125 kB / 1.022 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001815/1.269, allocations: 0.6544 MB / 1.022 GB, free: 15.34 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.001784/1.271, allocations: 0.7656 MB / 1.023 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003372/1.274, allocations: 2.107 MB / 1.025 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.274, allocations: 2.938 kB / 1.025 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00195/1.276, allocations: 1.428 MB / 1.027 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/1.278, allocations: 0.5209 MB / 1.027 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007088/1.285, allocations: 3.884 MB / 1.031 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/1.286, allocations: 1.491 MB / 1.032 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000655/1.287, allocations: 190.9 kB / 1.032 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of SimCode: time 7.41e-07/1.287, allocations: 0 / 1.032 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of Templates: time 0.07243/1.36, allocations: 67.18 MB / 1.098 GB, free: 13.3 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)