Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_11_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.001422/0.001422, allocations: 108 kB / 15.61 MB, free: 148 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.001369/0.001369, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.276/1.276, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.491/2.491, allocations: 469.8 MB / 0.7424 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 67.19 kB / 0.9086 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2368, allocations: 159.2 MB / 1.064 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1676/0.4044, allocations: 168.4 MB / 1.229 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01934/0.4237, allocations: 17.37 MB / 1.246 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006416/0.4244, allocations: 27.81 kB / 1.246 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.4256, allocations: 0.5661 MB / 1.246 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003446/0.4291, allocations: 1.778 MB / 1.248 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.4242/0.8533, allocations: 1.427 MB / 1.249 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003199/0.8565, allocations: 2.865 MB / 1.252 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001907/0.8584, allocations: 1.939 MB / 1.254 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003158/0.8616, allocations: 1.419 MB / 1.255 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008877/0.8625, allocations: 1.129 MB / 1.256 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002429/0.8627, allocations: 223.7 kB / 1.257 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002114/0.8649, allocations: 1.518 MB / 1.258 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004817/0.8654, allocations: 0.7954 MB / 1.259 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009365/0.8663, allocations: 1.283 MB / 1.26 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003089/0.8694, allocations: 3.669 MB / 1.264 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.8694, allocations: 0.7188 kB / 1.264 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.92e-07/0.8694, allocations: 0 / 1.264 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.049e-05/0.8695, allocations: 0.8438 kB / 1.264 GB, free: 5.562 MB / 0.9981 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.003971/0.8734, allocations: 2.927 MB / 1.267 GB, free: 20.17 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.8735, allocations: 12.14 kB / 1.267 GB, free: 20.17 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002493/0.8737, allocations: 249.1 kB / 1.267 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003304/0.877, allocations: 0.5646 MB / 1.267 GB, free: 19.98 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003208/0.8803, allocations: 3.396 MB / 1.271 GB, free: 19.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.77e-05/0.8804, allocations: 132.2 kB / 1.271 GB, free: 19.5 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002579/0.8806, allocations: 169 kB / 1.271 GB, free: 19.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003056/0.8837, allocations: 1.964 MB / 1.273 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.8837, allocations: 0 / 1.273 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/0.8839, allocations: 71.27 kB / 1.273 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.8839, allocations: 42.88 kB / 1.273 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003111/0.887, allocations: 2.114 MB / 1.275 GB, free: 19.3 MB / 1.014 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.007837/0.8949, allocations: 6.778 MB / 1.282 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002883/0.8978, allocations: 2.132 MB / 1.284 GB, free: 16.58 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.8989, allocations: 0.7733 MB / 1.285 GB, free: 16.57 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005394/0.8994, allocations: 428.2 kB / 1.285 GB, free: 16.19 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001419/0.9009, allocations: 1.026 MB / 1.286 GB, free: 16.09 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 2.505e-06/0.9009, allocations: 0 / 1.286 GB, free: 16.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=146): time 0.005892/0.9068, allocations: 3.003 MB / 1.289 GB, free: 15.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.9069, allocations: 196.6 kB / 1.289 GB, free: 15.19 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003501/0.9104, allocations: 4.075 MB / 1.293 GB, free: 15.02 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.9105, allocations: 57.52 kB / 1.293 GB, free: 14.99 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005116/0.911, allocations: 0.9018 MB / 1.294 GB, free: 14.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.9113, allocations: 478 kB / 1.294 GB, free: 14.39 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003226/0.9116, allocations: 240.3 kB / 1.295 GB, free: 14.38 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.9118, allocations: 355.9 kB / 1.295 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009427/0.9127, allocations: 0.5861 MB / 1.296 GB, free: 14.07 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.9138, allocations: 0.8114 MB / 1.296 GB, free: 13.89 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/0.9157, allocations: 1.33 MB / 1.298 GB, free: 13.83 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.9157, allocations: 0.9375 kB / 1.298 GB, free: 13.83 MB / 1.014 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003109/0.9188, allocations: 1.802 MB / 1.299 GB, free: 13.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.9188, allocations: 5.219 kB / 1.299 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.9188, allocations: 0 / 1.299 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008846/0.9197, allocations: 212.7 kB / 1.3 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.921, allocations: 335.3 kB / 1.3 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005314/0.9264, allocations: 7.325 MB / 1.307 GB, free: 6.801 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.9275, allocations: 161.2 kB / 1.307 GB, free: 6.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.742e-05/0.9276, allocations: 50.3 kB / 1.307 GB, free: 6.75 MB / 1.014 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.0005969/0.9282, allocations: 0.4894 MB / 1.308 GB, free: 6.625 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002789/0.9285, allocations: 195.8 kB / 1.308 GB, free: 6.52 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003638/0.9322, allocations: 2.163 MB / 1.31 GB, free: 6.352 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.9322, allocations: 19.22 kB / 1.31 GB, free: 6.352 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.9322, allocations: 3.125 kB / 1.31 GB, free: 6.352 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.9322, allocations: 8.578 kB / 1.31 GB, free: 6.352 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005284/0.9375, allocations: 4.132 MB / 1.314 GB, free: 5.902 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.9375, allocations: 0 / 1.314 GB, free: 5.902 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/0.9388, allocations: 321.9 kB / 1.314 GB, free: 5.902 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007109/0.9395, allocations: 198.9 kB / 1.315 GB, free: 5.863 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-05/0.9396, allocations: 45.55 kB / 1.315 GB, free: 5.859 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005429/0.945, allocations: 7.354 MB / 1.322 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.945, allocations: 0 / 1.322 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003257/0.9483, allocations: 2.017 MB / 1.324 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006121/0.9489, allocations: 0.5143 MB / 1.324 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/0.9491, allocations: 32.69 kB / 1.324 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.9503, allocations: 115.5 kB / 1.324 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.9504, allocations: 120.8 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.9506, allocations: 68.03 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002169/0.9527, allocations: 3.134 MB / 1.328 GB, free: 14.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9528, allocations: 1.031 kB / 1.328 GB, free: 14.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00144/0.9542, allocations: 0.685 MB / 1.328 GB, free: 14.33 MB / 1.029 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.005405/0.9596, allocations: 3.235 MB / 1.332 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004196/0.9638, allocations: 2.505 MB / 1.334 GB, free: 12.76 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.9638, allocations: 1.406 kB / 1.334 GB, free: 12.76 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.9655, allocations: 1.423 MB / 1.335 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/0.9675, allocations: 0.5547 MB / 1.336 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0253/0.9928, allocations: 22.65 MB / 1.358 GB, free: 1.766 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.9939, allocations: 1.526 MB / 1.36 GB, free: 0.4922 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001773/0.9957, allocations: 0.5248 MB / 1.36 GB, free: 68 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002573/0.9983, allocations: 1.085 MB / 1.361 GB, free: 15.9 MB / 1.045 GB Notification: Performance of SimCode: time 4.11e-07/0.9983, allocations: 0 / 1.361 GB, free: 15.9 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.496/4.494, allocations: 48.9 MB / 1.409 GB, free: 0.7695 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.51/25.01, allocations: 18 kB / 1.409 GB, free: 0.7578 MB / 1.076 GB (rm -f Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)