Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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: "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside,fileNamePrefix="BuildingSystems_BuildingSystems_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.005185/0.005185, allocations: 106.2 kB / 15.73 MB, free: 5.984 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.001129/0.00113, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002053/0.002053, allocations: 293.9 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8777/0.8777, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 96.08 kB / 0.681 GB, free: 7.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4038, allocations: 86.98 MB / 0.7659 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.1658/0.5696, allocations: 176 MB / 0.9378 GB, free: 3.285 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01291/0.5826, allocations: 10.83 MB / 0.9484 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007675/0.5834, allocations: 31.81 kB / 0.9484 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009547/0.5844, allocations: 396.9 kB / 0.9488 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002284/0.5867, allocations: 1.066 MB / 0.9498 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003308/0.59, allocations: 1.696 MB / 0.9515 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001891/0.5919, allocations: 2.295 MB / 0.9537 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/0.5935, allocations: 1.447 MB / 0.9551 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/0.5959, allocations: 1.262 MB / 0.9564 GB, free: 200 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3952/0.9911, allocations: 0.7909 MB / 0.9571 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005499/0.9917, allocations: 154.9 kB / 0.9573 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003465/0.9952, allocations: 1.411 MB / 0.9587 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000552/0.9958, allocations: 451.8 kB / 0.9591 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009988/0.9968, allocations: 0.7693 MB / 0.9598 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004737/1.002, allocations: 2.565 MB / 0.9623 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.002, allocations: 1.344 kB / 0.9624 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.295e-06/1.002, allocations: 0.6094 kB / 0.9624 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.466e-05/1.002, allocations: 4.031 kB / 0.9624 GB, free: 5.234 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003635/1.005, allocations: 1.875 MB / 0.9642 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/1.005, allocations: 10 kB / 0.9642 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001912/1.005, allocations: 179.5 kB / 0.9644 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/1.008, allocations: 352.3 kB / 0.9647 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/1.009, allocations: 0.9819 MB / 0.9657 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.026e-05/1.009, allocations: 86.52 kB / 0.9657 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/1.009, allocations: 116.9 kB / 0.9659 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/1.011, allocations: 1.302 MB / 0.9671 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/1.011, allocations: 4.438 kB / 0.9671 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/1.011, allocations: 48.94 kB / 0.9672 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/1.011, allocations: 29.72 kB / 0.9672 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/1.013, allocations: 1.448 MB / 0.9686 GB, free: 3.633 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.004984/1.018, allocations: 3.824 MB / 0.9724 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/1.02, allocations: 1.213 MB / 0.9735 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006103/1.021, allocations: 453.1 kB / 0.974 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007564/1.021, allocations: 428.8 kB / 0.9744 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000979/1.022, allocations: 0.6546 MB / 0.975 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=106): time 2.545e-06/1.022, allocations: 0.9375 kB / 0.975 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=106): time 0.003671/1.026, allocations: 1.608 MB / 0.9766 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/1.026, allocations: 200.1 kB / 0.9768 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/1.027, allocations: 0.8813 MB / 0.9776 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.756e-05/1.027, allocations: 47.92 kB / 0.9777 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003619/1.028, allocations: 0.5158 MB / 0.9782 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/1.028, allocations: 357.4 kB / 0.9785 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002598/1.028, allocations: 190.7 kB / 0.9787 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.028, allocations: 348.6 kB / 0.979 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005914/1.029, allocations: 359 kB / 0.9794 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000707/1.03, allocations: 0.4968 MB / 0.9799 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/1.031, allocations: 0.8445 MB / 0.9807 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/1.031, allocations: 2.562 kB / 0.9807 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002142/1.033, allocations: 1.111 MB / 0.9818 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/1.033, allocations: 16.17 kB / 0.9818 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.033, allocations: 0 / 0.9818 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005886/1.034, allocations: 83.27 kB / 0.9819 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009153/1.035, allocations: 230.4 kB / 0.9821 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/1.037, allocations: 1.645 MB / 0.9837 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000868/1.038, allocations: 123.6 kB / 0.9838 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.698e-05/1.038, allocations: 49.92 kB / 0.9839 GB, free: 14.72 MB / 0.7325 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.0004812/1.038, allocations: 317.3 kB / 0.9842 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/1.039, allocations: 116.3 kB / 0.9843 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/1.041, allocations: 1.505 MB / 0.9858 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/1.041, allocations: 10.94 kB / 0.9858 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/1.041, allocations: 0 / 0.9858 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/1.041, allocations: 9.391 kB / 0.9858 GB, free: 14.41 MB / 0.7325 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.003943/1.045, allocations: 2.845 MB / 0.9886 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/1.045, allocations: 3.375 kB / 0.9886 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008123/1.046, allocations: 201.8 kB / 0.9887 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000401/1.046, allocations: 79.91 kB / 0.9888 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.64e-05/1.046, allocations: 37.3 kB / 0.9889 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/1.048, allocations: 1.666 MB / 0.9905 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.048, allocations: 2.094 kB / 0.9905 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002815/1.051, allocations: 1.868 MB / 0.9923 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004302/1.051, allocations: 346.8 kB / 0.9926 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/1.052, allocations: 28.25 kB / 0.9927 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008131/1.052, allocations: 73.59 kB / 0.9927 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/1.053, allocations: 89.2 kB / 0.9928 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.827e-05/1.053, allocations: 50.42 kB / 0.9929 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006754/1.053, allocations: 0.6243 MB / 0.9935 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.053, allocations: 0.9062 kB / 0.9935 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001137/1.054, allocations: 447.8 kB / 0.9939 GB, free: 11.79 MB / 0.7325 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.004533/1.059, allocations: 3.022 MB / 0.9969 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001839/1.061, allocations: 1.069 MB / 0.9979 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.061, allocations: 0 / 0.9979 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009982/1.062, allocations: 0.6659 MB / 0.9986 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/1.064, allocations: 0.5122 MB / 0.9991 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/1.077, allocations: 8.869 MB / 1.008 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006856/1.078, allocations: 1.162 MB / 1.009 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001236/1.079, allocations: 370.5 kB / 1.009 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006005/1.079, allocations: 0.5301 MB / 1.01 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of SimCode: time 7.32e-07/1.079, allocations: 0 / 1.01 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0642/1.144, allocations: 33.36 MB / 1.042 GB, free: 3.211 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.78, allocations: 3.094 kB / 1.042 GB, free: 3.211 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe 2>&1)