Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) 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: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.275/2.275, allocations: 390.3 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 67.91 kB / 0.8127 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6738/0.6752, allocations: 140.4 MB / 0.9497 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2019/0.8771, allocations: 167.2 MB / 1.113 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02027/0.8974, allocations: 17.19 MB / 1.13 GB, free: 8.824 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/0.8989, allocations: 35.81 kB / 1.13 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001364/0.9003, allocations: 0.5313 MB / 1.13 GB, free: 8.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004177/0.9045, allocations: 1.67 MB / 1.132 GB, free: 6.582 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.9078, allocations: 1.415 MB / 1.133 GB, free: 5.18 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002818/0.9106, allocations: 2.642 MB / 1.136 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002788/0.9134, allocations: 2.002 MB / 1.138 GB, free: 488 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003281/0.9167, allocations: 1.382 MB / 1.139 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.9181, allocations: 1.085 MB / 1.14 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004822/0.9186, allocations: 224 kB / 1.14 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003026/0.9216, allocations: 1.517 MB / 1.142 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0008599/0.9225, allocations: 0.8023 MB / 1.143 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001681/0.9242, allocations: 1.228 MB / 1.144 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004478/0.9287, allocations: 3.587 MB / 1.147 GB, free: 6.676 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.9287, allocations: 0 / 1.147 GB, free: 6.676 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9287, allocations: 4 kB / 1.147 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.785e-05/0.9288, allocations: 4 kB / 1.147 GB, free: 6.668 MB / 0.9044 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.004419/0.9332, allocations: 2.873 MB / 1.15 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.9332, allocations: 8.031 kB / 1.15 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002766/0.9335, allocations: 244.9 kB / 1.151 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003613/0.9371, allocations: 0.5668 MB / 1.151 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003624/0.9408, allocations: 3.386 MB / 1.154 GB, free: 15.46 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.905e-05/0.9409, allocations: 127.3 kB / 1.154 GB, free: 15.33 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/0.9411, allocations: 176 kB / 1.155 GB, free: 15.16 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003035/0.9441, allocations: 1.944 MB / 1.157 GB, free: 13.16 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.9442, allocations: 3.938 kB / 1.157 GB, free: 13.16 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001561/0.9443, allocations: 68 kB / 1.157 GB, free: 13.09 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/0.9444, allocations: 40 kB / 1.157 GB, free: 13.05 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003427/0.9478, allocations: 2.097 MB / 1.159 GB, free: 10.95 MB / 0.92 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.008213/0.956, allocations: 6.23 MB / 1.165 GB, free: 4.469 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003238/0.9593, allocations: 2.087 MB / 1.167 GB, free: 2.301 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.9605, allocations: 0.7569 MB / 1.168 GB, free: 1.547 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005517/0.9611, allocations: 433.6 kB / 1.168 GB, free: 1.047 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001636/0.9627, allocations: 1.005 MB / 1.169 GB, free: 24 kB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 2.785e-06/0.9627, allocations: 0 / 1.169 GB, free: 24 kB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.00656/0.9693, allocations: 2.965 MB / 1.172 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.9694, allocations: 205.2 kB / 1.172 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00415/0.9736, allocations: 4.049 MB / 1.176 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.9737, allocations: 61.64 kB / 1.176 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006976/0.9744, allocations: 0.8981 MB / 1.177 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003674/0.9748, allocations: 477 kB / 1.177 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003815/0.9752, allocations: 246.8 kB / 1.178 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.9753, allocations: 353.9 kB / 1.178 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.9764, allocations: 0.5686 MB / 1.179 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.9778, allocations: 0.7969 MB / 1.179 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002269/0.98, allocations: 1.306 MB / 1.181 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.98, allocations: 4 kB / 1.181 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003799/0.9839, allocations: 1.768 MB / 1.182 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.9839, allocations: 4 kB / 1.182 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.9839, allocations: 4 kB / 1.182 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.985, allocations: 220.1 kB / 1.183 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.9865, allocations: 327.6 kB / 1.183 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005924/0.9925, allocations: 7.312 MB / 1.19 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.9939, allocations: 158.7 kB / 1.19 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.994, allocations: 52.03 kB / 1.19 GB, free: 9.27 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (144): * Single equations (assignments): 139 * 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.0009278/0.995, allocations: 493.3 kB / 1.191 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004822/0.9955, allocations: 189.7 kB / 1.191 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004702/1, allocations: 2.134 MB / 1.193 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/1, allocations: 20.03 kB / 1.193 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1, allocations: 4 kB / 1.193 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/1, allocations: 7.969 kB / 1.193 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00707/1.007, allocations: 4.106 MB / 1.197 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.007, allocations: 0 / 1.197 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/1.009, allocations: 319.5 kB / 1.197 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009546/1.01, allocations: 204.1 kB / 1.197 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/1.01, allocations: 39.97 kB / 1.198 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005712/1.016, allocations: 7.359 MB / 1.205 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.016, allocations: 3.984 kB / 1.205 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004308/1.02, allocations: 2.006 MB / 1.207 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009513/1.021, allocations: 0.5021 MB / 1.207 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003379/1.021, allocations: 35.92 kB / 1.207 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/1.023, allocations: 100.8 kB / 1.207 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/1.023, allocations: 113.2 kB / 1.207 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001561/1.023, allocations: 71.94 kB / 1.207 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003415/1.027, allocations: 3.12 MB / 1.21 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.6e-07/1.027, allocations: 3.938 kB / 1.21 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001736/1.028, allocations: 0.6586 MB / 1.211 GB, free: 2.918 MB / 0.9669 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.005864/1.034, allocations: 3.215 MB / 1.214 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005222/1.039, allocations: 2.484 MB / 1.217 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.039, allocations: 4.562 kB / 1.217 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002058/1.041, allocations: 1.414 MB / 1.218 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/1.044, allocations: 0.5385 MB / 1.219 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.032/1.076, allocations: 22.45 MB / 1.241 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001467/1.077, allocations: 1.529 MB / 1.242 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002193/1.08, allocations: 0.5365 MB / 1.243 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/1.081, allocations: 0.9014 MB / 1.243 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/1.081, allocations: 0 / 1.243 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5331/1.614, allocations: 47.65 MB / 1.29 GB, free: 285 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/14.25, allocations: 13.44 kB / 1.29 GB, free: 285 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)