Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",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.007398/0.007398, allocations: 101.4 kB / 15.73 MB, free: 6.012 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.001679/0.001679, allocations: 191.3 kB / 16.67 MB, free: 5.934 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.13/2.13, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 63.91 kB / 0.9504 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.642/0.6431, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.167/0.8101, allocations: 167.2 MB / 1.251 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01842/0.8286, allocations: 17.2 MB / 1.268 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.8298, allocations: 31.81 kB / 1.268 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.8313, allocations: 0.5352 MB / 1.268 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004018/0.8353, allocations: 1.676 MB / 1.27 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002983/0.8383, allocations: 1.435 MB / 1.271 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002653/0.8409, allocations: 2.689 MB / 1.274 GB, free: 14.9 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002325/0.8433, allocations: 1.994 MB / 1.276 GB, free: 12.86 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003205/0.8465, allocations: 1.392 MB / 1.277 GB, free: 11.51 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.8479, allocations: 1.085 MB / 1.278 GB, free: 10.42 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004453/0.8483, allocations: 224 kB / 1.278 GB, free: 10.2 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002504/0.8508, allocations: 1.552 MB / 1.28 GB, free: 8.648 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007554/0.8516, allocations: 0.8062 MB / 1.281 GB, free: 7.84 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001484/0.8531, allocations: 1.244 MB / 1.282 GB, free: 6.59 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004085/0.8572, allocations: 3.668 MB / 1.285 GB, free: 2.91 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.8572, allocations: 0 / 1.285 GB, free: 2.91 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8572, allocations: 0 / 1.285 GB, free: 2.91 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.91e-05/0.8572, allocations: 3.938 kB / 1.285 GB, free: 2.906 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.004437/0.8617, allocations: 2.891 MB / 1.288 GB, free: 15.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.8617, allocations: 8.031 kB / 1.288 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002679/0.862, allocations: 248.9 kB / 1.289 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003459/0.8655, allocations: 0.5667 MB / 1.289 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003521/0.869, allocations: 3.429 MB / 1.292 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.682e-05/0.8691, allocations: 127.4 kB / 1.293 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002074/0.8693, allocations: 168 kB / 1.293 GB, free: 11.35 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002923/0.8723, allocations: 1.968 MB / 1.295 GB, free: 9.332 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.8723, allocations: 0 / 1.295 GB, free: 9.332 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/0.8725, allocations: 72 kB / 1.295 GB, free: 9.262 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.871e-05/0.8725, allocations: 44 kB / 1.295 GB, free: 9.219 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003256/0.8757, allocations: 2.117 MB / 1.297 GB, free: 7.098 MB / 1.029 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.008038/0.8838, allocations: 6.333 MB / 1.303 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002997/0.8868, allocations: 2.137 MB / 1.305 GB, free: 14.28 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/0.888, allocations: 0.7728 MB / 1.306 GB, free: 13.51 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004861/0.8885, allocations: 433.5 kB / 1.306 GB, free: 13.01 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001514/0.89, allocations: 1.022 MB / 1.307 GB, free: 11.97 MB / 1.045 GB Notification: Performance of pre-optimization done (n=146): time 2.925e-06/0.89, allocations: 0 / 1.307 GB, free: 11.97 MB / 1.045 GB Notification: Performance of matching and sorting (n=146): time 0.006191/0.8962, allocations: 2.992 MB / 1.31 GB, free: 8.867 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.474e-05/0.8963, allocations: 193.2 kB / 1.31 GB, free: 8.633 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003761/0.9001, allocations: 4.081 MB / 1.314 GB, free: 4.547 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.9002, allocations: 57.7 kB / 1.314 GB, free: 4.484 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006881/0.9009, allocations: 0.8984 MB / 1.315 GB, free: 3.574 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003742/0.9013, allocations: 481 kB / 1.316 GB, free: 3.098 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003556/0.9016, allocations: 242.8 kB / 1.316 GB, free: 2.855 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.9018, allocations: 353.9 kB / 1.316 GB, free: 2.504 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.9028, allocations: 0.5804 MB / 1.317 GB, free: 1.922 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.9041, allocations: 0.8095 MB / 1.318 GB, free: 1.051 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00221/0.9063, allocations: 1.333 MB / 1.319 GB, free: 15.71 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.9063, allocations: 4 kB / 1.319 GB, free: 15.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003618/0.9099, allocations: 1.799 MB / 1.321 GB, free: 13.88 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.9099, allocations: 7.938 kB / 1.321 GB, free: 13.87 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.91, allocations: 8.062 kB / 1.321 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001/0.911, allocations: 204.1 kB / 1.321 GB, free: 13.65 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.9124, allocations: 331.5 kB / 1.321 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005163/0.9176, allocations: 7.319 MB / 1.328 GB, free: 5.301 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.919, allocations: 174.8 kB / 1.329 GB, free: 5.133 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.671e-05/0.9191, allocations: 47.97 kB / 1.329 GB, free: 5.086 MB / 1.061 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 (145): * Single equations (assignments): 140 * 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.0008086/0.92, allocations: 0.4896 MB / 1.329 GB, free: 4.586 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003437/0.9203, allocations: 193.6 kB / 1.329 GB, free: 4.395 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004186/0.9245, allocations: 2.153 MB / 1.331 GB, free: 2.211 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.9245, allocations: 16 kB / 1.331 GB, free: 2.195 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.9245, allocations: 4 kB / 1.331 GB, free: 2.191 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.9246, allocations: 7.969 kB / 1.331 GB, free: 2.184 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006164/0.9307, allocations: 4.128 MB / 1.335 GB, free: 13.97 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.9307, allocations: 0 / 1.335 GB, free: 13.97 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/0.9321, allocations: 319.6 kB / 1.336 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008158/0.933, allocations: 212 kB / 1.336 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.834e-05/0.9331, allocations: 39.97 kB / 1.336 GB, free: 13.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004991/0.9381, allocations: 7.355 MB / 1.343 GB, free: 5.34 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.9381, allocations: 64 / 1.343 GB, free: 5.34 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003865/0.9419, allocations: 2.02 MB / 1.345 GB, free: 3.281 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008621/0.9428, allocations: 0.5139 MB / 1.346 GB, free: 2.746 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/0.943, allocations: 27.94 kB / 1.346 GB, free: 2.719 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.9442, allocations: 114.5 kB / 1.346 GB, free: 2.609 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002198/0.9445, allocations: 121.1 kB / 1.346 GB, free: 2.492 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/0.9446, allocations: 67.95 kB / 1.346 GB, free: 2.426 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002798/0.9474, allocations: 3.132 MB / 1.349 GB, free: 15.3 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9474, allocations: 0 / 1.349 GB, free: 15.3 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001519/0.949, allocations: 0.6626 MB / 1.35 GB, free: 14.64 MB / 1.092 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.005335/0.9543, allocations: 3.224 MB / 1.353 GB, free: 11.57 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003146/0.9575, allocations: 2.07 MB / 1.355 GB, free: 9.43 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.9575, allocations: 16.55 kB / 1.355 GB, free: 9.414 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001888/0.9594, allocations: 1.422 MB / 1.356 GB, free: 7.93 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/0.9616, allocations: 0.5379 MB / 1.357 GB, free: 7.41 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02763/0.9892, allocations: 21.12 MB / 1.377 GB, free: 2.047 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.9904, allocations: 1.525 MB / 1.379 GB, free: 0.4922 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001612/0.9921, allocations: 0.5287 MB / 1.379 GB, free: 15.96 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/0.9932, allocations: 0.8975 MB / 1.38 GB, free: 15.06 MB / 1.123 GB Notification: Performance of SimCode: time 9.62e-07/0.9932, allocations: 4 kB / 1.38 GB, free: 15.05 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.079/2.072, allocations: 48.51 MB / 1.428 GB, free: 15.09 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.87/16.94, allocations: 12 kB / 1.428 GB, free: 15.08 MB / 1.17 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)