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.001099/0.001099, allocations: 113.8 kB / 16.37 MB, free: 6.012 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.001076/0.001076, allocations: 191.4 kB / 17.31 MB, free: 5.613 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.305/1.305, 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.002058/0.002058, allocations: 280.6 kB / 291.4 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.9535/0.9535, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 99.3 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1569, allocations: 86.99 MB / 0.6816 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.4559/0.6128, allocations: 167.2 MB / 0.8449 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02027/0.6332, allocations: 17.2 MB / 0.8617 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/0.6346, allocations: 31.81 kB / 0.8617 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.636, allocations: 0.5196 MB / 0.8622 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004196/0.6402, allocations: 1.694 MB / 0.8638 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00326/0.6435, allocations: 1.414 MB / 0.8652 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0028/0.6463, allocations: 2.669 MB / 0.8678 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002236/0.6486, allocations: 1.989 MB / 0.8698 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003293/0.6519, allocations: 1.411 MB / 0.8712 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.6531, allocations: 1.077 MB / 0.8722 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002562/0.6533, allocations: 220 kB / 0.8724 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003822/0.6572, allocations: 1.556 MB / 0.8739 GB, free: 9.523 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007569/0.6579, allocations: 0.7868 MB / 0.8747 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001236/0.6592, allocations: 1.174 MB / 0.8758 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004629/0.6638, allocations: 3.528 MB / 0.8793 GB, free: 4.016 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.6638, allocations: 0 / 0.8793 GB, free: 4.016 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6639, allocations: 0 / 0.8793 GB, free: 4.016 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.482e-05/0.6639, allocations: 0 / 0.8793 GB, free: 4.016 MB / 0.6387 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.00445/0.6683, allocations: 2.729 MB / 0.882 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.6684, allocations: 8.031 kB / 0.882 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003543/0.6719, allocations: 0.5551 MB / 0.8825 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002391/0.6743, allocations: 1.631 MB / 0.8841 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.146e-05/0.6744, allocations: 135.4 kB / 0.8842 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/0.6747, allocations: 164 kB / 0.8844 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003043/0.6777, allocations: 1.944 MB / 0.8863 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.6777, allocations: 0 / 0.8863 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/0.6779, allocations: 76 kB / 0.8864 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/0.6779, allocations: 40 kB / 0.8864 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003214/0.6812, allocations: 2.089 MB / 0.8884 GB, free: 10.47 MB / 0.6544 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.008009/0.6892, allocations: 5.638 MB / 0.8939 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003077/0.6923, allocations: 2.107 MB / 0.896 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/0.6934, allocations: 0.7569 MB / 0.8967 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005962/0.6941, allocations: 425.6 kB / 0.8971 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001626/0.6957, allocations: 1.001 MB / 0.8981 GB, free: 132 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=146): time 2.525e-06/0.6957, allocations: 0 / 0.8981 GB, free: 132 kB / 0.6544 GB Notification: Performance of matching and sorting (n=146): time 0.006465/0.7022, allocations: 2.961 MB / 0.901 GB, free: 13.05 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.7023, allocations: 197.2 kB / 0.9012 GB, free: 12.82 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002189/0.7045, allocations: 1.78 MB / 0.9029 GB, free: 11.03 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000129/0.7046, allocations: 61.7 kB / 0.903 GB, free: 10.96 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006518/0.7053, allocations: 0.8272 MB / 0.9038 GB, free: 10.12 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003931/0.7057, allocations: 0.4929 MB / 0.9043 GB, free: 9.621 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004085/0.7061, allocations: 250.8 kB / 0.9045 GB, free: 9.367 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.7063, allocations: 357.9 kB / 0.9049 GB, free: 9.012 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.7073, allocations: 0.5882 MB / 0.9054 GB, free: 8.426 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.7086, allocations: 0.8014 MB / 0.9062 GB, free: 7.57 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002185/0.7107, allocations: 1.329 MB / 0.9075 GB, free: 6.23 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.7108, allocations: 0 / 0.9075 GB, free: 6.23 MB / 0.67 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003684/0.7145, allocations: 1.815 MB / 0.9093 GB, free: 4.391 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.7145, allocations: 4 kB / 0.9093 GB, free: 4.387 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.7145, allocations: 7.922 kB / 0.9093 GB, free: 4.379 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.7156, allocations: 220.2 kB / 0.9095 GB, free: 4.148 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.7171, allocations: 323.6 kB / 0.9098 GB, free: 3.832 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00566/0.7227, allocations: 7.32 MB / 0.917 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.7242, allocations: 154 kB / 0.9171 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.7244, allocations: 63.89 kB / 0.9172 GB, free: 11.59 MB / 0.6856 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.0008852/0.7253, allocations: 491.3 kB / 0.9176 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000303/0.7256, allocations: 177.8 kB / 0.9178 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004135/0.7297, allocations: 2.121 MB / 0.9199 GB, free: 8.781 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.7297, allocations: 16 kB / 0.9199 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.7298, allocations: 4 kB / 0.9199 GB, free: 8.762 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.7298, allocations: 15.91 kB / 0.9199 GB, free: 8.746 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006341/0.7361, allocations: 3.976 MB / 0.9238 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.7361, allocations: 0 / 0.9238 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/0.7376, allocations: 323.5 kB / 0.9241 GB, free: 4.375 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008516/0.7384, allocations: 200.1 kB / 0.9243 GB, free: 4.164 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.57e-05/0.7385, allocations: 39.97 kB / 0.9243 GB, free: 4.125 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005441/0.744, allocations: 7.357 MB / 0.9315 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.744, allocations: 0 / 0.9315 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003849/0.7479, allocations: 1.996 MB / 0.9335 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008537/0.7487, allocations: 466.4 kB / 0.9339 GB, free: 9.547 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/0.7489, allocations: 28 kB / 0.9339 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.7501, allocations: 105 kB / 0.9341 GB, free: 9.418 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002052/0.7503, allocations: 109.3 kB / 0.9342 GB, free: 9.309 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/0.7505, allocations: 75.92 kB / 0.9342 GB, free: 9.234 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00151/0.752, allocations: 1.277 MB / 0.9355 GB, free: 7.961 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.623e-06/0.752, allocations: 0 / 0.9355 GB, free: 7.961 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001566/0.7536, allocations: 0.6624 MB / 0.9361 GB, free: 7.297 MB / 0.7012 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.001635/0.7552, allocations: 0.7509 MB / 0.9369 GB, free: 6.73 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003178/0.7584, allocations: 2.078 MB / 0.9389 GB, free: 4.586 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.7584, allocations: 8.5 kB / 0.9389 GB, free: 4.578 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001855/0.7603, allocations: 1.411 MB / 0.9403 GB, free: 3.105 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/0.7623, allocations: 0.5234 MB / 0.9408 GB, free: 2.609 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006901/0.7692, allocations: 3.822 MB / 0.9445 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.7703, allocations: 1.528 MB / 0.946 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001436/0.7717, allocations: 0.5005 MB / 0.9465 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004431/0.7722, allocations: 175.3 kB / 0.9467 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.7722, allocations: 0 / 0.9467 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of Templates: time 0.3161/1.088, allocations: 30.99 MB / 0.9769 GB, free: 237.6 MB / 0.7169 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)