Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.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_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001411/0.001411, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.457/1.457, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002495/0.002495, allocations: 287 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.071/1.071, allocations: 178.6 MB / 0.507 GB, free: 4.727 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002738/0.002738, allocations: 104.9 kB / 0.6059 GB, free: 24.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1881, allocations: 89.14 MB / 0.693 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.4997/0.6878, allocations: 152.3 MB / 0.8417 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0148/0.7026, allocations: 10.44 MB / 0.8519 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009784/0.7036, allocations: 20.53 kB / 0.8519 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008939/0.7046, allocations: 229.6 kB / 0.8522 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002795/0.7074, allocations: 0.8736 MB / 0.853 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.7099, allocations: 0.9721 MB / 0.854 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001943/0.7119, allocations: 1.724 MB / 0.8557 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/0.7134, allocations: 1.138 MB / 0.8568 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00238/0.7158, allocations: 0.7244 MB / 0.8575 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000786/0.7166, allocations: 0.6224 MB / 0.8581 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.7168, allocations: 135.9 kB / 0.8582 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001986/0.7188, allocations: 1.01 MB / 0.8592 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003621/0.7192, allocations: 386.8 kB / 0.8596 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006306/0.7198, allocations: 0.6754 MB / 0.8602 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002956/0.7228, allocations: 2.181 MB / 0.8624 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.7228, allocations: 0 / 0.8624 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of FrontEnd: time 5.6e-06/0.7228, allocations: 0 / 0.8624 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.325e-05/0.7228, allocations: 3.938 kB / 0.8624 GB, free: 11.28 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.00339/0.7262, allocations: 1.714 MB / 0.864 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.7263, allocations: 10.16 kB / 0.864 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/0.7279, allocations: 266.8 kB / 0.8643 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.7292, allocations: 0.8787 MB / 0.8652 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.624e-05/0.7293, allocations: 78.16 kB / 0.8652 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.7295, allocations: 91.16 kB / 0.8653 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/0.7314, allocations: 1.108 MB / 0.8664 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.7315, allocations: 0 / 0.8664 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.7316, allocations: 41.66 kB / 0.8664 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.7316, allocations: 25.56 kB / 0.8665 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.7338, allocations: 1.324 MB / 0.8678 GB, free: 7.73 MB / 0.5919 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.005299/0.7391, allocations: 3.428 MB / 0.8711 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/0.7411, allocations: 1.108 MB / 0.8722 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008045/0.742, allocations: 423.6 kB / 0.8726 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002648/0.7422, allocations: 134 kB / 0.8727 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001224/0.7435, allocations: 0.6254 MB / 0.8733 GB, free: 3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 2.485e-06/0.7435, allocations: 0 / 0.8733 GB, free: 3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.004614/0.7481, allocations: 1.631 MB / 0.8749 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/0.7483, allocations: 192.9 kB / 0.8751 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.7495, allocations: 0.8018 MB / 0.8759 GB, free: 280 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.791e-05/0.7496, allocations: 45.7 kB / 0.8759 GB, free: 228 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004599/0.75, allocations: 464.5 kB / 0.8764 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002919/0.7503, allocations: 307.4 kB / 0.8767 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003169/0.7507, allocations: 186.5 kB / 0.8768 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.7509, allocations: 345.9 kB / 0.8772 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007605/0.7516, allocations: 349.8 kB / 0.8775 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009211/0.7526, allocations: 486.1 kB / 0.878 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.7542, allocations: 0.7843 MB / 0.8787 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.7542, allocations: 0 / 0.8787 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002771/0.757, allocations: 1.088 MB / 0.8798 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.757, allocations: 8 kB / 0.8798 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.757, allocations: 4 kB / 0.8798 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007805/0.7578, allocations: 113.6 kB / 0.8799 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000964/0.7588, allocations: 206.1 kB / 0.8801 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/0.7624, allocations: 3.077 MB / 0.8831 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.7636, allocations: 122.2 kB / 0.8832 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.256e-05/0.7637, allocations: 39.97 kB / 0.8833 GB, free: 8.348 MB / 0.6075 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 (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006377/0.7643, allocations: 315.9 kB / 0.8836 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002487/0.7646, allocations: 98.78 kB / 0.8837 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003165/0.7677, allocations: 1.322 MB / 0.885 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.7678, allocations: 12 kB / 0.885 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.7678, allocations: 0 / 0.885 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.7678, allocations: 7.969 kB / 0.885 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004494/0.7723, allocations: 2.419 MB / 0.8873 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.7723, allocations: 0 / 0.8873 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008848/0.7732, allocations: 191.8 kB / 0.8875 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005862/0.7738, allocations: 109.6 kB / 0.8876 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-05/0.7739, allocations: 35.91 kB / 0.8877 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003369/0.7773, allocations: 3.088 MB / 0.8907 GB, free: 392 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7773, allocations: 0 / 0.8907 GB, free: 392 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002907/0.7802, allocations: 1.239 MB / 0.8919 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005635/0.7808, allocations: 311.5 kB / 0.8922 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.7809, allocations: 23.98 kB / 0.8922 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008982/0.7819, allocations: 79.92 kB / 0.8923 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.7821, allocations: 84.88 kB / 0.8924 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/0.7822, allocations: 47.97 kB / 0.8924 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008248/0.783, allocations: 0.5731 MB / 0.893 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.783, allocations: 0 / 0.893 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001387/0.7844, allocations: 455.1 kB / 0.8934 GB, free: 13.55 MB / 0.6231 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.002312/0.7867, allocations: 0.7179 MB / 0.8941 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003489/0.7902, allocations: 1.388 MB / 0.8955 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.7902, allocations: 0 / 0.8955 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00145/0.7917, allocations: 0.7489 MB / 0.8962 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.7936, allocations: 359 kB / 0.8965 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004319/0.7979, allocations: 2.502 MB / 0.899 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008321/0.7987, allocations: 1.103 MB / 0.9001 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001162/0.7999, allocations: 311.6 kB / 0.9004 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003324/0.8003, allocations: 119.4 kB / 0.9005 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of SimCode: time 8.51e-07/0.8003, allocations: 0 / 0.9005 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of Templates: time 0.03635/0.8366, allocations: 19.87 MB / 0.9199 GB, free: 2.793 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)