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.007279/0.007279, allocations: 96.22 kB / 15.73 MB, free: 6.043 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.001581/0.001581, allocations: 195.2 kB / 16.67 MB, free: 5.969 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002163/0.002163, allocations: 286.6 kB / 290.8 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9842/0.9842, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 91.86 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1729, allocations: 86.98 MB / 0.7664 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.5924/0.7654, allocations: 167.2 MB / 0.9296 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01988/0.7853, allocations: 17.22 MB / 0.9464 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001825/0.7872, allocations: 31.81 kB / 0.9465 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001556/0.7887, allocations: 0.5313 MB / 0.947 GB, free: 9.781 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004644/0.7934, allocations: 1.682 MB / 0.9486 GB, free: 8.098 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003388/0.7968, allocations: 1.428 MB / 0.95 GB, free: 6.688 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003228/0.8001, allocations: 2.654 MB / 0.9526 GB, free: 4.023 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002313/0.8024, allocations: 2.001 MB / 0.9546 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003517/0.8059, allocations: 1.388 MB / 0.9559 GB, free: 0.6523 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.8072, allocations: 1.081 MB / 0.957 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003117/0.8075, allocations: 224 kB / 0.9572 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002973/0.8105, allocations: 1.548 MB / 0.9587 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006184/0.8111, allocations: 0.7868 MB / 0.9595 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.8122, allocations: 1.177 MB / 0.9606 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004186/0.8164, allocations: 3.559 MB / 0.9641 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.8164, allocations: 4 kB / 0.9641 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8164, allocations: 0 / 0.9641 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.498e-05/0.8164, allocations: 0 / 0.9641 GB, free: 8.254 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.00418/0.8206, allocations: 2.792 MB / 0.9668 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.8207, allocations: 12.03 kB / 0.9668 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003407/0.8241, allocations: 0.5691 MB / 0.9674 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002247/0.8263, allocations: 1.64 MB / 0.969 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.83e-05/0.8265, allocations: 131.4 kB / 0.9691 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/0.8267, allocations: 171.9 kB / 0.9693 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003166/0.8298, allocations: 1.94 MB / 0.9712 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/0.8299, allocations: 3.938 kB / 0.9712 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.83, allocations: 72 kB / 0.9712 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.274e-05/0.8301, allocations: 44 kB / 0.9713 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003526/0.8336, allocations: 2.089 MB / 0.9733 GB, free: 14.62 MB / 0.7325 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.009271/0.8429, allocations: 5.661 MB / 0.9789 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003203/0.8461, allocations: 2.087 MB / 0.9809 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/0.8474, allocations: 0.7647 MB / 0.9816 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005756/0.8479, allocations: 437.6 kB / 0.9821 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001681/0.8496, allocations: 1.004 MB / 0.983 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.236e-06/0.8497, allocations: 0 / 0.983 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006494/0.8562, allocations: 2.958 MB / 0.9859 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.8563, allocations: 193.2 kB / 0.9861 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00229/0.8586, allocations: 1.795 MB / 0.9879 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001421/0.8587, allocations: 57.7 kB / 0.9879 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007157/0.8595, allocations: 0.8442 MB / 0.9887 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003989/0.8599, allocations: 499.7 kB / 0.9892 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003934/0.8603, allocations: 262.8 kB / 0.9895 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.8604, allocations: 357.9 kB / 0.9898 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.8615, allocations: 0.596 MB / 0.9904 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.8627, allocations: 0.8013 MB / 0.9912 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002266/0.865, allocations: 1.337 MB / 0.9925 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.865, allocations: 4 kB / 0.9925 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004042/0.8691, allocations: 1.816 MB / 0.9943 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.8691, allocations: 4 kB / 0.9943 GB, free: 8.469 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.8691, allocations: 7.922 kB / 0.9943 GB, free: 8.461 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.8703, allocations: 212.2 kB / 0.9945 GB, free: 8.238 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/0.8718, allocations: 331.5 kB / 0.9948 GB, free: 7.914 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006773/0.8785, allocations: 7.322 MB / 1.002 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/0.8809, allocations: 159.2 kB / 1.002 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/0.881, allocations: 59.91 kB / 1.002 GB, free: 15.67 MB / 0.7637 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.001409/0.8825, allocations: 491.8 kB / 1.003 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004844/0.883, allocations: 190.8 kB / 1.003 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004371/0.8873, allocations: 2.117 MB / 1.005 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.8874, allocations: 20 kB / 1.005 GB, free: 12.83 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.8874, allocations: 0 / 1.005 GB, free: 12.83 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.066e-05/0.8874, allocations: 7.969 kB / 1.005 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006342/0.8938, allocations: 3.988 MB / 1.009 GB, free: 8.754 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.8938, allocations: 0 / 1.009 GB, free: 8.754 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.8951, allocations: 323.5 kB / 1.009 GB, free: 8.438 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008548/0.896, allocations: 208 kB / 1.009 GB, free: 8.219 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.667e-05/0.8961, allocations: 43.95 kB / 1.009 GB, free: 8.176 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005485/0.9016, allocations: 7.348 MB / 1.017 GB, free: 120 kB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.9016, allocations: 4.031 kB / 1.017 GB, free: 116 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003748/0.9054, allocations: 1.993 MB / 1.018 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006973/0.9061, allocations: 483.3 kB / 1.019 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/0.9063, allocations: 31.98 kB / 1.019 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.9074, allocations: 98.72 kB / 1.019 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002238/0.9077, allocations: 113.2 kB / 1.019 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/0.9078, allocations: 71.94 kB / 1.019 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001589/0.9094, allocations: 1.281 MB / 1.02 GB, free: 12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9094, allocations: 0 / 1.02 GB, free: 12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001623/0.9111, allocations: 0.6586 MB / 1.021 GB, free: 11.34 MB / 0.7794 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.001674/0.9128, allocations: 0.7687 MB / 1.022 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003269/0.916, allocations: 2.078 MB / 1.024 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.916, allocations: 4.562 kB / 1.024 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001898/0.918, allocations: 1.422 MB / 1.025 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/0.92, allocations: 0.5271 MB / 1.026 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006466/0.9265, allocations: 3.868 MB / 1.03 GB, free: 2.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.9275, allocations: 1.536 MB / 1.031 GB, free: 1.16 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00146/0.929, allocations: 0.4928 MB / 1.032 GB, free: 0.6602 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000445/0.9294, allocations: 171.4 kB / 1.032 GB, free: 0.4922 MB / 0.7794 GB Notification: Performance of SimCode: time 7.01e-07/0.9294, allocations: 0 / 1.032 GB, free: 0.4922 MB / 0.7794 GB Notification: Performance of Templates: time 0.0528/0.9822, allocations: 31.33 MB / 1.062 GB, free: 1.496 MB / 0.8106 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)