Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.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.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 110.5 kB / 16.41 MB, free: 6.508 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.001911/0.001911, allocations: 181.2 kB / 17.34 MB, free: 5.738 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.507/1.507, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002492/0.002492, allocations: 300.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.022/1.022, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002795/0.002795, allocations: 99.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.437, allocations: 86.97 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.1996/0.6366, allocations: 167.6 MB / 0.9307 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02629/0.6629, allocations: 17.25 MB / 0.9476 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/0.6647, allocations: 31.81 kB / 0.9476 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.6662, allocations: 0.5508 MB / 0.9482 GB, free: 9.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005058/0.6713, allocations: 1.712 MB / 0.9498 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003789/0.6751, allocations: 1.425 MB / 0.9512 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003849/0.6789, allocations: 2.657 MB / 0.9538 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003233/0.6822, allocations: 1.678 MB / 0.9554 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004659/0.6868, allocations: 1.448 MB / 0.9569 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.421/1.108, allocations: 1.073 MB / 0.9579 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007748/1.109, allocations: 221.6 kB / 0.9581 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003442/1.112, allocations: 1.551 MB / 0.9596 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006775/1.113, allocations: 0.7904 MB / 0.9604 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001151/1.114, allocations: 1.172 MB / 0.9616 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005184/1.119, allocations: 3.552 MB / 0.965 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.119, allocations: 0.9375 kB / 0.965 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/1.119, allocations: 2.469 kB / 0.965 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.516e-05/1.119, allocations: 2.375 kB / 0.965 GB, free: 5.418 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004908/1.124, allocations: 2.798 MB / 0.9678 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/1.124, allocations: 12.55 kB / 0.9678 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0038/1.128, allocations: 0.5714 MB / 0.9683 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002247/1.13, allocations: 1.639 MB / 0.9699 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.335e-05/1.13, allocations: 126.4 kB / 0.9701 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002281/1.13, allocations: 175.4 kB / 0.9702 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002895/1.133, allocations: 1.939 MB / 0.9721 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/1.133, allocations: 0 / 0.9721 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/1.134, allocations: 77.5 kB / 0.9722 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/1.134, allocations: 41.41 kB / 0.9722 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003016/1.137, allocations: 2.088 MB / 0.9743 GB, free: 3.227 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.00739/1.144, allocations: 5.662 MB / 0.9798 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002919/1.147, allocations: 2.01 MB / 0.9818 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/1.148, allocations: 0.7036 MB / 0.9824 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005982/1.149, allocations: 430.7 kB / 0.9829 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0015/1.15, allocations: 1.006 MB / 0.9838 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 2.946e-06/1.15, allocations: 0.625 kB / 0.9838 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006378/1.156, allocations: 2.963 MB / 0.9867 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/1.157, allocations: 201.3 kB / 0.9869 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/1.159, allocations: 1.783 MB / 0.9887 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001646/1.159, allocations: 63.64 kB / 0.9887 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000544/1.159, allocations: 0.8404 MB / 0.9895 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003038/1.16, allocations: 0.4982 MB / 0.99 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003753/1.16, allocations: 254 kB / 0.9903 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001646/1.16, allocations: 352.6 kB / 0.9906 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009846/1.161, allocations: 0.595 MB / 0.9912 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/1.162, allocations: 0.8013 MB / 0.992 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002085/1.164, allocations: 1.328 MB / 0.9933 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.164, allocations: 1 kB / 0.9933 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003595/1.168, allocations: 1.817 MB / 0.995 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/1.168, allocations: 5.719 kB / 0.9951 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.168, allocations: 2.094 kB / 0.9951 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/1.169, allocations: 215.5 kB / 0.9953 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/1.17, allocations: 333 kB / 0.9956 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006822/1.177, allocations: 7.316 MB / 1.003 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/1.179, allocations: 168.2 kB / 1.003 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/1.179, allocations: 59.75 kB / 1.003 GB, free: 7.152 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 (152): * Single equations (assignments): 147 * 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.001098/1.18, allocations: 480.7 kB / 1.003 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004466/1.181, allocations: 194.2 kB / 1.004 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00406/1.185, allocations: 2.12 MB / 1.006 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/1.185, allocations: 14.25 kB / 1.006 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/1.185, allocations: 7.062 kB / 1.006 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/1.185, allocations: 10.89 kB / 1.006 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006182/1.191, allocations: 3.968 MB / 1.01 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.191, allocations: 0 / 1.01 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00143/1.192, allocations: 315.1 kB / 1.01 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009935/1.193, allocations: 212.7 kB / 1.01 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/1.194, allocations: 42.88 kB / 1.01 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006725/1.2, allocations: 7.349 MB / 1.017 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.2, allocations: 2.844 kB / 1.017 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004221/1.205, allocations: 1.998 MB / 1.019 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/1.206, allocations: 481.9 kB / 1.02 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002365/1.206, allocations: 31.25 kB / 1.02 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/1.207, allocations: 107.1 kB / 1.02 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002478/1.207, allocations: 117.6 kB / 1.02 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/1.207, allocations: 65.27 kB / 1.02 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001676/1.209, allocations: 1.284 MB / 1.021 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.209, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001958/1.211, allocations: 0.6594 MB / 1.022 GB, free: 14.72 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.002339/1.213, allocations: 0.7575 MB / 1.023 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003331/1.217, allocations: 2.028 MB / 1.025 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.217, allocations: 5.922 kB / 1.025 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001936/1.219, allocations: 1.367 MB / 1.026 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/1.221, allocations: 0.5244 MB / 1.026 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00688/1.228, allocations: 3.865 MB / 1.03 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/1.229, allocations: 1.534 MB / 1.032 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001733/1.231, allocations: 0.4987 MB / 1.032 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004752/1.231, allocations: 171.7 kB / 1.032 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of SimCode: time 7.01e-07/1.231, allocations: 4 kB / 1.032 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of Templates: time 0.05747/1.289, allocations: 31.51 MB / 1.063 GB, free: 1.059 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)