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.001144/0.001144, allocations: 109.4 kB / 16.41 MB, free: 6.496 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.001103/0.001103, allocations: 183 kB / 17.34 MB, free: 5.762 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.365/1.365, allocations: 222.9 MB / 241 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.002134/0.002134, allocations: 292.2 kB / 291.5 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.9518/0.9518, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 87.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.4363, allocations: 86.98 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.1756/0.612, allocations: 167.2 MB / 0.9303 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02301/0.635, allocations: 17.22 MB / 0.9471 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.6365, allocations: 31.81 kB / 0.9471 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.6384, allocations: 0.543 MB / 0.9477 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005347/0.6438, allocations: 1.708 MB / 0.9493 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003931/0.6477, allocations: 1.428 MB / 0.9507 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003525/0.6513, allocations: 2.665 MB / 0.9533 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003096/0.6544, allocations: 2.006 MB / 0.9553 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004272/0.6587, allocations: 1.442 MB / 0.9567 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4387/1.097, allocations: 1.067 MB / 0.9577 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001083/1.099, allocations: 220.7 kB / 0.958 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00468/1.103, allocations: 1.555 MB / 0.9595 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00102/1.104, allocations: 0.7923 MB / 0.9602 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001644/1.106, allocations: 1.177 MB / 0.9614 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006158/1.112, allocations: 3.528 MB / 0.9648 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/1.112, allocations: 3.969 kB / 0.9648 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.104e-06/1.112, allocations: 0 / 0.9648 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.384e-05/1.112, allocations: 0 / 0.9648 GB, free: 5.84 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.005572/1.118, allocations: 2.723 MB / 0.9675 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/1.118, allocations: 9.781 kB / 0.9675 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003741/1.122, allocations: 0.5506 MB / 0.968 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/1.124, allocations: 1.631 MB / 0.9696 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/1.124, allocations: 127.2 kB / 0.9698 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002319/1.124, allocations: 170.9 kB / 0.9699 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003036/1.127, allocations: 1.94 MB / 0.9718 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/1.127, allocations: 1.062 kB / 0.9718 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/1.128, allocations: 75.98 kB / 0.9719 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-05/1.128, allocations: 41.72 kB / 0.9719 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003126/1.131, allocations: 2.089 MB / 0.974 GB, free: 3.754 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.007502/1.138, allocations: 5.644 MB / 0.9795 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003054/1.141, allocations: 2.095 MB / 0.9815 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/1.143, allocations: 0.7632 MB / 0.9823 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005906/1.143, allocations: 430.1 kB / 0.9827 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001643/1.145, allocations: 1.005 MB / 0.9837 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 2.946e-06/1.145, allocations: 0.6875 kB / 0.9837 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006386/1.151, allocations: 2.96 MB / 0.9866 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/1.151, allocations: 198.6 kB / 0.9867 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00251/1.154, allocations: 1.786 MB / 0.9885 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001959/1.154, allocations: 60.17 kB / 0.9885 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006787/1.155, allocations: 0.828 MB / 0.9894 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003713/1.155, allocations: 484.1 kB / 0.9898 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003866/1.156, allocations: 258 kB / 0.9901 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.156, allocations: 354.9 kB / 0.9904 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/1.157, allocations: 0.5877 MB / 0.991 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/1.158, allocations: 0.8059 MB / 0.9918 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002095/1.16, allocations: 1.333 MB / 0.9931 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.16, allocations: 4 kB / 0.9931 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003689/1.164, allocations: 1.805 MB / 0.9948 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/1.164, allocations: 8 kB / 0.9948 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.164, allocations: 0.8438 kB / 0.9948 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/1.165, allocations: 219.4 kB / 0.9951 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/1.166, allocations: 332.3 kB / 0.9954 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00582/1.172, allocations: 7.311 MB / 1.003 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/1.174, allocations: 160.6 kB / 1.003 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/1.174, allocations: 56.39 kB / 1.003 GB, free: 7.746 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.001136/1.175, allocations: 487.8 kB / 1.003 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005042/1.176, allocations: 182 kB / 1.003 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004177/1.18, allocations: 2.121 MB / 1.005 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/1.18, allocations: 16.28 kB / 1.005 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/1.18, allocations: 7.156 kB / 1.005 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/1.18, allocations: 8.625 kB / 1.005 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006522/1.187, allocations: 3.981 MB / 1.009 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.187, allocations: 0.875 kB / 1.009 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/1.188, allocations: 314 kB / 1.01 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008651/1.189, allocations: 201.8 kB / 1.01 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/1.189, allocations: 45.45 kB / 1.01 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005772/1.195, allocations: 7.35 MB / 1.017 GB, free: 100 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.195, allocations: 0 / 1.017 GB, free: 100 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004201/1.199, allocations: 1.993 MB / 1.019 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008879/1.2, allocations: 472.3 kB / 1.019 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002383/1.2, allocations: 33.91 kB / 1.019 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/1.201, allocations: 103.9 kB / 1.02 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/1.202, allocations: 116.1 kB / 1.02 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/1.202, allocations: 66.91 kB / 1.02 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001739/1.204, allocations: 1.286 MB / 1.021 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/1.204, allocations: 0.7812 kB / 1.021 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002121/1.206, allocations: 0.66 MB / 1.022 GB, free: 15.35 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.001811/1.208, allocations: 0.7531 MB / 1.022 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003319/1.211, allocations: 2.083 MB / 1.024 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.211, allocations: 3.688 kB / 1.024 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001894/1.213, allocations: 1.41 MB / 1.026 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/1.215, allocations: 0.5287 MB / 1.026 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007071/1.222, allocations: 3.756 MB / 1.03 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/1.223, allocations: 1.491 MB / 1.031 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007011/1.224, allocations: 192.9 kB / 1.032 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of SimCode: time 5.71e-07/1.224, allocations: 0.9062 kB / 1.032 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of Templates: time 0.07954/1.304, allocations: 66.77 MB / 1.097 GB, free: 14.43 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)