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.005251/0.00525, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001203/0.001203, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.496/1.496, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003261/0.003261, allocations: 289.8 kB / 290.8 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 0.9748/0.9748, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 91.86 kB / 0.6814 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4252, allocations: 86.98 MB / 0.7664 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.1839/0.6091, allocations: 167.2 MB / 0.9296 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02085/0.63, allocations: 17.23 MB / 0.9464 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00153/0.6316, allocations: 31.81 kB / 0.9465 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.6331, allocations: 0.543 MB / 0.947 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00493/0.638, allocations: 1.712 MB / 0.9487 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003416/0.6415, allocations: 1.428 MB / 0.9501 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003498/0.645, allocations: 2.661 MB / 0.9527 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002925/0.6479, allocations: 2.01 MB / 0.9546 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003807/0.6517, allocations: 1.427 MB / 0.956 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4641/1.116, allocations: 1.074 MB / 0.9571 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0009993/1.117, allocations: 224.5 kB / 0.9573 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004233/1.121, allocations: 1.553 MB / 0.9588 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008299/1.122, allocations: 0.7879 MB / 0.9596 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001275/1.123, allocations: 1.173 MB / 0.9607 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006073/1.129, allocations: 3.536 MB / 0.9642 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.129, allocations: 0.8125 kB / 0.9642 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/1.129, allocations: 0 / 0.9642 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.902e-05/1.129, allocations: 0 / 0.9642 GB, free: 5.797 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.005244/1.135, allocations: 2.721 MB / 0.9668 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/1.135, allocations: 10.19 kB / 0.9668 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003649/1.138, allocations: 0.5524 MB / 0.9674 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002337/1.141, allocations: 1.626 MB / 0.969 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.972e-05/1.141, allocations: 133.1 kB / 0.9691 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002157/1.141, allocations: 166.3 kB / 0.9693 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002867/1.144, allocations: 1.946 MB / 0.9712 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/1.144, allocations: 0.9375 kB / 0.9712 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/1.144, allocations: 72.28 kB / 0.9712 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/1.144, allocations: 41.09 kB / 0.9713 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002948/1.147, allocations: 2.089 MB / 0.9733 GB, free: 3.711 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.007701/1.155, allocations: 5.649 MB / 0.9788 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00288/1.158, allocations: 2.088 MB / 0.9809 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/1.159, allocations: 0.7688 MB / 0.9816 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006254/1.159, allocations: 432.1 kB / 0.982 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001609/1.161, allocations: 1.003 MB / 0.983 GB, free: 17 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.937e-06/1.161, allocations: 0 / 0.983 GB, free: 17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006402/1.168, allocations: 2.958 MB / 0.9859 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/1.168, allocations: 200.6 kB / 0.9861 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002434/1.17, allocations: 1.783 MB / 0.9878 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002466/1.17, allocations: 56.92 kB / 0.9879 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006486/1.171, allocations: 0.8287 MB / 0.9887 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003717/1.171, allocations: 490.6 kB / 0.9892 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004266/1.172, allocations: 251.4 kB / 0.9894 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001803/1.172, allocations: 359.8 kB / 0.9897 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009925/1.173, allocations: 0.5881 MB / 0.9903 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/1.174, allocations: 0.8042 MB / 0.9911 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002068/1.176, allocations: 1.332 MB / 0.9924 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/1.176, allocations: 2.75 kB / 0.9924 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003702/1.18, allocations: 1.811 MB / 0.9942 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/1.18, allocations: 3.312 kB / 0.9942 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/1.18, allocations: 5.172 kB / 0.9942 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009965/1.181, allocations: 212.4 kB / 0.9944 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/1.182, allocations: 334.9 kB / 0.9947 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00577/1.188, allocations: 7.312 MB / 1.002 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/1.19, allocations: 163.8 kB / 1.002 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/1.19, allocations: 56.08 kB / 1.002 GB, free: 7.711 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.001039/1.191, allocations: 489.2 kB / 1.003 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004005/1.192, allocations: 184.9 kB / 1.003 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003988/1.196, allocations: 2.114 MB / 1.005 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/1.196, allocations: 16.81 kB / 1.005 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.196, allocations: 6.672 kB / 1.005 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/1.196, allocations: 10.81 kB / 1.005 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006186/1.202, allocations: 3.974 MB / 1.009 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/1.202, allocations: 0 / 1.009 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/1.203, allocations: 319.9 kB / 1.009 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008729/1.204, allocations: 209.2 kB / 1.009 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/1.204, allocations: 43.47 kB / 1.009 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005662/1.21, allocations: 7.351 MB / 1.016 GB, free: 64 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.21, allocations: 0 / 1.016 GB, free: 64 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003995/1.214, allocations: 1.994 MB / 1.018 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009305/1.215, allocations: 467 kB / 1.019 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/1.215, allocations: 40.59 kB / 1.019 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/1.216, allocations: 101.3 kB / 1.019 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002386/1.217, allocations: 114.2 kB / 1.019 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/1.217, allocations: 71.19 kB / 1.019 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00165/1.219, allocations: 1.279 MB / 1.02 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.51e-07/1.219, allocations: 0.9375 kB / 1.02 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001986/1.221, allocations: 0.6597 MB / 1.021 GB, free: 15.31 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.001694/1.222, allocations: 0.7498 MB / 1.022 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003425/1.226, allocations: 2.081 MB / 1.024 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/1.226, allocations: 0.5625 kB / 1.024 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001918/1.228, allocations: 1.42 MB / 1.025 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/1.23, allocations: 0.5281 MB / 1.026 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007374/1.237, allocations: 3.802 MB / 1.029 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/1.238, allocations: 1.541 MB / 1.031 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001883/1.24, allocations: 0.4935 MB / 1.031 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004432/1.241, allocations: 171.4 kB / 1.032 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of SimCode: time 7.01e-07/1.241, allocations: 0 / 1.032 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of Templates: time 0.05701/1.298, allocations: 31.33 MB / 1.062 GB, free: 1.461 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)