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.004616/0.004616, allocations: 99.83 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.001319/0.00132, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002521/0.002521, allocations: 296.7 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9785/0.9785, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002696/0.002696, allocations: 99.83 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4108, allocations: 86.98 MB / 0.7659 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.1949/0.6057, allocations: 176 MB / 0.9378 GB, free: 3.172 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01537/0.6211, allocations: 10.85 MB / 0.9484 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.6223, allocations: 31.81 kB / 0.9484 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.6235, allocations: 396.9 kB / 0.9488 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002911/0.6264, allocations: 1.06 MB / 0.9498 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004042/0.6305, allocations: 1.691 MB / 0.9515 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002937/0.6334, allocations: 2.303 MB / 0.9537 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002018/0.6355, allocations: 1.439 MB / 0.9551 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003333/0.6388, allocations: 1.252 MB / 0.9564 GB, free: 96 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3904/1.029, allocations: 0.7935 MB / 0.9571 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00056/1.03, allocations: 154.7 kB / 0.9573 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003287/1.033, allocations: 1.419 MB / 0.9587 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004547/1.034, allocations: 451.8 kB / 0.9591 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000814/1.034, allocations: 0.7686 MB / 0.9598 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003686/1.038, allocations: 2.57 MB / 0.9624 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.038, allocations: 0 / 0.9624 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/1.038, allocations: 0 / 0.9624 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.458e-05/1.038, allocations: 0.5312 kB / 0.9624 GB, free: 5.203 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.003272/1.041, allocations: 1.93 MB / 0.9642 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/1.041, allocations: 11.58 kB / 0.9643 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001863/1.042, allocations: 178.5 kB / 0.9644 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/1.044, allocations: 360.2 kB / 0.9648 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/1.045, allocations: 0.9948 MB / 0.9657 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.312e-05/1.045, allocations: 89.14 kB / 0.9658 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/1.045, allocations: 115.8 kB / 0.9659 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/1.047, allocations: 1.301 MB / 0.9672 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/1.047, allocations: 3.438 kB / 0.9672 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/1.048, allocations: 51.28 kB / 0.9673 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/1.048, allocations: 27.5 kB / 0.9673 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/1.05, allocations: 1.448 MB / 0.9687 GB, free: 3.527 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.004831/1.054, allocations: 3.833 MB / 0.9724 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/1.056, allocations: 1.21 MB / 0.9736 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006283/1.057, allocations: 454.1 kB / 0.9741 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007959/1.058, allocations: 426.8 kB / 0.9745 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009641/1.059, allocations: 0.6582 MB / 0.9751 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=106): time 3.367e-06/1.059, allocations: 0 / 0.9751 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=106): time 0.003573/1.062, allocations: 1.609 MB / 0.9767 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/1.062, allocations: 202.4 kB / 0.9769 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009537/1.063, allocations: 0.879 MB / 0.9777 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.807e-05/1.063, allocations: 48.02 kB / 0.9778 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003235/1.064, allocations: 0.5216 MB / 0.9783 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/1.064, allocations: 377.5 kB / 0.9786 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000257/1.064, allocations: 195.5 kB / 0.9788 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.064, allocations: 341.8 kB / 0.9792 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005811/1.065, allocations: 360.6 kB / 0.9795 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006851/1.066, allocations: 0.4971 MB / 0.98 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/1.067, allocations: 0.8478 MB / 0.9808 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/1.067, allocations: 0.8438 kB / 0.9808 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002136/1.069, allocations: 1.125 MB / 0.9819 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.069, allocations: 10.22 kB / 0.9819 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/1.069, allocations: 2.625 kB / 0.9819 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005686/1.07, allocations: 86.42 kB / 0.982 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009082/1.071, allocations: 218.3 kB / 0.9822 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/1.073, allocations: 1.644 MB / 0.9838 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009155/1.074, allocations: 129.8 kB / 0.9839 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-05/1.074, allocations: 43.55 kB / 0.984 GB, free: 14.57 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.0005632/1.074, allocations: 321.9 kB / 0.9843 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/1.074, allocations: 124.4 kB / 0.9844 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/1.077, allocations: 1.504 MB / 0.9859 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/1.077, allocations: 14.28 kB / 0.9859 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/1.077, allocations: 0 / 0.9859 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/1.077, allocations: 9.094 kB / 0.9859 GB, free: 14.26 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.004097/1.081, allocations: 2.842 MB / 0.9887 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.081, allocations: 1 kB / 0.9887 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000827/1.082, allocations: 203.6 kB / 0.9889 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004096/1.083, allocations: 80 kB / 0.9889 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.836e-05/1.083, allocations: 38.61 kB / 0.989 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/1.084, allocations: 1.674 MB / 0.9906 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.084, allocations: 6.438 kB / 0.9906 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002938/1.087, allocations: 1.869 MB / 0.9925 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004932/1.088, allocations: 348.6 kB / 0.9928 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/1.088, allocations: 27.59 kB / 0.9928 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008714/1.089, allocations: 78.77 kB / 0.9929 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/1.089, allocations: 87.27 kB / 0.993 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.103e-05/1.089, allocations: 48.33 kB / 0.993 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007265/1.09, allocations: 0.6303 MB / 0.9936 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.09, allocations: 1.203 kB / 0.9936 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001285/1.091, allocations: 448.4 kB / 0.9941 GB, free: 11.62 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.00524/1.096, allocations: 3.029 MB / 0.997 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001901/1.098, allocations: 1.073 MB / 0.9981 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.098, allocations: 1.688 kB / 0.9981 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/1.099, allocations: 0.6545 MB / 0.9987 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/1.101, allocations: 0.517 MB / 0.9992 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/1.115, allocations: 8.917 MB / 1.008 GB, free: 8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007054/1.116, allocations: 1.165 MB / 1.009 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001188/1.117, allocations: 372.8 kB / 1.009 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006059/1.118, allocations: 0.5296 MB / 1.01 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of SimCode: time 1.162e-06/1.118, allocations: 2.656 kB / 1.01 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07312/1.191, allocations: 32.76 MB / 1.042 GB, free: 3.531 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/14.43, allocations: 0.5938 kB / 1.042 GB, free: 3.531 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)