Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside",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.004508/0.004508, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001378/0.001378, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.238/1.238, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.316/2.316, allocations: 437.1 MB / 0.7106 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 67.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2375, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.6069/0.8444, allocations: 176.5 MB / 1.339 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01327/0.8577, allocations: 10.9 MB / 1.349 GB, free: 5.105 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000763/0.8585, allocations: 36.41 kB / 1.349 GB, free: 5.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009452/0.8595, allocations: 415.4 kB / 1.35 GB, free: 4.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002318/0.8618, allocations: 1.092 MB / 1.351 GB, free: 4.188 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003364/0.8652, allocations: 1.717 MB / 1.352 GB, free: 3.293 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002207/0.8674, allocations: 2.374 MB / 1.355 GB, free: 2.133 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/0.8689, allocations: 1.411 MB / 1.356 GB, free: 1.449 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002629/0.8716, allocations: 1.263 MB / 1.357 GB, free: 0.8789 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008272/0.8724, allocations: 0.808 MB / 1.358 GB, free: 488 kB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001957/0.8726, allocations: 155.3 kB / 1.358 GB, free: 488 kB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.8749, allocations: 1.412 MB / 1.36 GB, free: 0 / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003806/0.8753, allocations: 447.3 kB / 1.36 GB, free: 15.75 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006878/0.8759, allocations: 0.7862 MB / 1.361 GB, free: 15.24 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002783/0.8787, allocations: 2.605 MB / 1.363 GB, free: 14.07 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.8788, allocations: 4 kB / 1.363 GB, free: 14.07 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8788, allocations: 1.312 kB / 1.363 GB, free: 14.07 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.85e-05/0.8788, allocations: 0 / 1.363 GB, free: 14.07 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.002973/0.8818, allocations: 1.933 MB / 1.365 GB, free: 12.59 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.8818, allocations: 13.19 kB / 1.365 GB, free: 12.58 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001999/0.882, allocations: 175 kB / 1.365 GB, free: 12.44 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001886/0.8839, allocations: 360 kB / 1.366 GB, free: 12.27 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.8853, allocations: 1 MB / 1.367 GB, free: 11.49 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.958e-05/0.8854, allocations: 86.02 kB / 1.367 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.8855, allocations: 116.7 kB / 1.367 GB, free: 11.41 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.8875, allocations: 1.303 MB / 1.368 GB, free: 10.58 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.417e-05/0.8875, allocations: 3.984 kB / 1.368 GB, free: 10.58 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.8876, allocations: 52.5 kB / 1.368 GB, free: 10.54 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.8876, allocations: 28.78 kB / 1.368 GB, free: 10.54 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/0.8898, allocations: 1.446 MB / 1.37 GB, free: 9.844 MB / 1.045 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.005258/0.895, allocations: 4.044 MB / 1.374 GB, free: 6.59 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.8969, allocations: 1.214 MB / 1.375 GB, free: 5.922 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006748/0.8976, allocations: 446.4 kB / 1.375 GB, free: 5.703 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006704/0.8983, allocations: 430.5 kB / 1.376 GB, free: 5.273 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.8993, allocations: 0.6669 MB / 1.376 GB, free: 4.848 MB / 1.045 GB Notification: Performance of pre-optimization done (n=106): time 2.485e-06/0.8993, allocations: 0 / 1.376 GB, free: 4.848 MB / 1.045 GB Notification: Performance of matching and sorting (n=106): time 0.003472/0.9028, allocations: 1.611 MB / 1.378 GB, free: 4.004 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.9029, allocations: 195 kB / 1.378 GB, free: 3.781 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009899/0.9039, allocations: 0.8802 MB / 1.379 GB, free: 3.277 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.311e-05/0.904, allocations: 49.58 kB / 1.379 GB, free: 3.23 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004043/0.9044, allocations: 0.5244 MB / 1.38 GB, free: 2.766 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.9047, allocations: 371.9 kB / 1.38 GB, free: 2.441 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002807/0.905, allocations: 189.6 kB / 1.38 GB, free: 2.328 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.9052, allocations: 347.8 kB / 1.38 GB, free: 1.992 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006266/0.9058, allocations: 358.5 kB / 1.381 GB, free: 1.82 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007683/0.9066, allocations: 0.5026 MB / 1.381 GB, free: 1.5 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.908, allocations: 0.8447 MB / 1.382 GB, free: 1.039 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.908, allocations: 2.406 kB / 1.382 GB, free: 1.039 MB / 1.045 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002119/0.9101, allocations: 1.125 MB / 1.383 GB, free: 480 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.9101, allocations: 7.344 kB / 1.383 GB, free: 480 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.9101, allocations: 0 / 1.383 GB, free: 480 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000518/0.9106, allocations: 81.72 kB / 1.383 GB, free: 440 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008055/0.9115, allocations: 223.6 kB / 1.383 GB, free: 384 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.9134, allocations: 1.65 MB / 1.385 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007444/0.9142, allocations: 124.8 kB / 1.385 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-05/0.9142, allocations: 43.31 kB / 1.385 GB, free: 14.65 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004399/0.9147, allocations: 324.9 kB / 1.386 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.9149, allocations: 124.8 kB / 1.386 GB, free: 14.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002713/0.9176, allocations: 1.505 MB / 1.387 GB, free: 13.47 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.9176, allocations: 16.53 kB / 1.387 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.9176, allocations: 0 / 1.387 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.9176, allocations: 7.969 kB / 1.387 GB, free: 13.46 MB / 1.061 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 postOpt removeSimpleEquations (simulation): time 0.004073/0.9217, allocations: 2.844 MB / 1.39 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.9217, allocations: 0 / 1.39 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007834/0.9225, allocations: 207.5 kB / 1.39 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003929/0.9229, allocations: 70.92 kB / 1.39 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.86e-05/0.923, allocations: 36.5 kB / 1.39 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.9248, allocations: 1.678 MB / 1.392 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.9248, allocations: 7.422 kB / 1.392 GB, free: 9.758 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002995/0.9278, allocations: 1.868 MB / 1.394 GB, free: 8.703 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004247/0.9282, allocations: 352.5 kB / 1.394 GB, free: 8.406 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.9284, allocations: 23.53 kB / 1.394 GB, free: 8.391 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007738/0.9291, allocations: 77.86 kB / 1.394 GB, free: 8.352 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.9293, allocations: 88.81 kB / 1.394 GB, free: 8.305 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.313e-05/0.9294, allocations: 46.25 kB / 1.394 GB, free: 8.289 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006959/0.9301, allocations: 0.6278 MB / 1.395 GB, free: 7.926 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9301, allocations: 0 / 1.395 GB, free: 7.926 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009482/0.931, allocations: 458.8 kB / 1.395 GB, free: 7.801 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00509/0.9361, allocations: 3.033 MB / 1.398 GB, free: 5.953 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001862/0.938, allocations: 1.063 MB / 1.399 GB, free: 5.152 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.938, allocations: 3.859 kB / 1.399 GB, free: 5.148 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.9392, allocations: 0.6644 MB / 1.4 GB, free: 4.477 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/0.9412, allocations: 0.5204 MB / 1.4 GB, free: 3.973 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/0.9543, allocations: 8.818 MB / 1.409 GB, free: 10.96 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008048/0.9552, allocations: 1.164 MB / 1.41 GB, free: 9.766 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001012/0.9562, allocations: 369.7 kB / 1.411 GB, free: 9.402 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007013/0.9569, allocations: 0.5305 MB / 1.411 GB, free: 8.871 MB / 1.076 GB Notification: Performance of SimCode: time 2.31e-07/0.9569, allocations: 0 / 1.411 GB, free: 8.871 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.47/3.427, allocations: 33.17 MB / 1.443 GB, free: 8.102 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.02/23.45, allocations: 2.656 kB / 1.443 GB, free: 8.102 MB / 1.107 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1)