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.005965/0.005965, allocations: 101 kB / 15.73 MB, free: 6.469 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.001347/0.001347, allocations: 193.1 kB / 16.67 MB, free: 6.379 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002142/0.002142, allocations: 279 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8885/0.8885, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 99.8 kB / 0.681 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1641, allocations: 86.97 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.5044/0.6685, allocations: 176 MB / 0.9378 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01314/0.6817, allocations: 10.85 MB / 0.9484 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009778/0.6827, allocations: 31.81 kB / 0.9484 GB, free: 8.227 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.6839, allocations: 396.9 kB / 0.9488 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002851/0.6868, allocations: 1.051 MB / 0.9498 GB, free: 6.785 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003878/0.6907, allocations: 1.711 MB / 0.9515 GB, free: 5.082 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002499/0.6932, allocations: 2.284 MB / 0.9537 GB, free: 2.793 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001893/0.6951, allocations: 1.438 MB / 0.9551 GB, free: 1.32 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002901/0.698, allocations: 1.258 MB / 0.9563 GB, free: 88 kB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.6992, allocations: 0.8014 MB / 0.9571 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000395/0.6996, allocations: 152 kB / 0.9573 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002642/0.7023, allocations: 1.411 MB / 0.9587 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005169/0.7028, allocations: 450.7 kB / 0.9591 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001077/0.7039, allocations: 0.7735 MB / 0.9598 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003381/0.7073, allocations: 2.563 MB / 0.9623 GB, free: 9.93 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.7073, allocations: 0 / 0.9623 GB, free: 9.93 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7073, allocations: 0 / 0.9623 GB, free: 9.93 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.398e-05/0.7074, allocations: 0 / 0.9623 GB, free: 9.93 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.003728/0.7111, allocations: 1.876 MB / 0.9642 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.7111, allocations: 8.031 kB / 0.9642 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002678/0.7114, allocations: 177.4 kB / 0.9644 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00213/0.7135, allocations: 349.9 kB / 0.9647 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/0.7152, allocations: 0.9992 MB / 0.9657 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.147e-05/0.7153, allocations: 86.33 kB / 0.9657 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.7155, allocations: 112 kB / 0.9659 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/0.7177, allocations: 1.294 MB / 0.9671 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.7177, allocations: 3.938 kB / 0.9671 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.7179, allocations: 52 kB / 0.9672 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.7179, allocations: 28 kB / 0.9672 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/0.7202, allocations: 1.453 MB / 0.9686 GB, free: 3.316 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.005839/0.7261, allocations: 3.821 MB / 0.9723 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.7282, allocations: 1.218 MB / 0.9735 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007271/0.7289, allocations: 451.6 kB / 0.974 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006678/0.7296, allocations: 421.3 kB / 0.9744 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/0.7307, allocations: 0.6644 MB / 0.975 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=106): time 3.216e-06/0.7307, allocations: 0 / 0.975 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=106): time 0.003759/0.7344, allocations: 1.606 MB / 0.9766 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.438e-05/0.7345, allocations: 200.9 kB / 0.9768 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.7357, allocations: 0.8749 MB / 0.9776 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.541e-05/0.7358, allocations: 49.7 kB / 0.9777 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003906/0.7362, allocations: 0.5122 MB / 0.9782 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000267/0.7364, allocations: 358.9 kB / 0.9785 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002876/0.7367, allocations: 194.5 kB / 0.9787 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.7369, allocations: 353.9 kB / 0.979 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006742/0.7375, allocations: 361.7 kB / 0.9794 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007942/0.7383, allocations: 0.4932 MB / 0.9799 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.7398, allocations: 0.8562 MB / 0.9807 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.7398, allocations: 0 / 0.9807 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002378/0.7422, allocations: 1.114 MB / 0.9818 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.7422, allocations: 6.344 kB / 0.9818 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.7422, allocations: 9.078 kB / 0.9818 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005641/0.7428, allocations: 80.78 kB / 0.9819 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009108/0.7437, allocations: 223.7 kB / 0.9821 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/0.7457, allocations: 1.644 MB / 0.9837 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008658/0.7466, allocations: 125.8 kB / 0.9838 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-05/0.7467, allocations: 45.14 kB / 0.9839 GB, free: 3.094 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.0004735/0.7472, allocations: 322.1 kB / 0.9842 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/0.7474, allocations: 118.5 kB / 0.9843 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002901/0.7503, allocations: 1.507 MB / 0.9858 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.7503, allocations: 8 kB / 0.9858 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.7504, allocations: 4 kB / 0.9858 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.7504, allocations: 3.984 kB / 0.9858 GB, free: 1.109 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.004613/0.755, allocations: 2.839 MB / 0.9885 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.755, allocations: 4 kB / 0.9885 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000849/0.7559, allocations: 203.9 kB / 0.9887 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004393/0.7563, allocations: 72.78 kB / 0.9888 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-05/0.7564, allocations: 35.97 kB / 0.9888 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/0.7582, allocations: 1.674 MB / 0.9905 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.7582, allocations: 7.938 kB / 0.9905 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003262/0.7615, allocations: 1.866 MB / 0.9923 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005564/0.762, allocations: 347.3 kB / 0.9926 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.7622, allocations: 35.91 kB / 0.9927 GB, free: 9.719 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008644/0.7631, allocations: 74.5 kB / 0.9927 GB, free: 9.648 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.7633, allocations: 100.8 kB / 0.9928 GB, free: 9.551 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.724e-05/0.7634, allocations: 43.97 kB / 0.9929 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007975/0.7642, allocations: 0.6261 MB / 0.9935 GB, free: 8.871 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7642, allocations: 0 / 0.9935 GB, free: 8.871 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001077/0.7653, allocations: 443.1 kB / 0.9939 GB, free: 8.438 MB / 0.7481 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.004866/0.7701, allocations: 3.003 MB / 0.9969 GB, free: 5.574 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002017/0.7722, allocations: 1.073 MB / 0.9979 GB, free: 4.492 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.7722, allocations: 0 / 0.9979 GB, free: 4.492 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.7733, allocations: 0.6608 MB / 0.9985 GB, free: 3.816 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/0.7753, allocations: 0.5285 MB / 0.9991 GB, free: 3.316 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/0.7896, allocations: 8.876 MB / 1.008 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007082/0.7903, allocations: 1.158 MB / 1.009 GB, free: 9.062 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001116/0.7914, allocations: 369.7 kB / 1.009 GB, free: 8.699 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007058/0.7921, allocations: 0.5266 MB / 1.01 GB, free: 8.172 MB / 0.7637 GB Notification: Performance of SimCode: time 4.51e-07/0.7922, allocations: 0 / 1.01 GB, free: 8.172 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06308/0.8552, allocations: 32.52 MB / 1.041 GB, free: 8.086 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.39, allocations: 10.56 kB / 1.041 GB, free: 8.082 MB / 0.795 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)