Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sources.Examples.Outside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside,fileNamePrefix="IBPSA_latest_IBPSA_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.001079/0.001079, allocations: 99.86 kB / 16.27 MB, free: 5.965 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.001195/0.001195, allocations: 192 kB / 17.2 MB, free: 5.594 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.303/1.303, allocations: 222.9 MB / 240.9 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7732/0.7732, allocations: 122.8 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 64.14 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3329, allocations: 77.93 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside): time 0.1662/0.4991, allocations: 176.5 MB / 0.7396 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.329/0.8281, allocations: 10.89 MB / 0.7503 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.8297, allocations: 33 kB / 0.7503 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.8311, allocations: 417.1 kB / 0.7507 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003712/0.835, allocations: 1.096 MB / 0.7518 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004644/0.8396, allocations: 1.699 MB / 0.7534 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003544/0.8432, allocations: 2.372 MB / 0.7558 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002504/0.8457, allocations: 1.41 MB / 0.7571 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003811/0.8495, allocations: 1.264 MB / 0.7584 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.8511, allocations: 0.8054 MB / 0.7591 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003265/0.8514, allocations: 154.2 kB / 0.7593 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003188/0.8546, allocations: 1.385 MB / 0.7606 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005091/0.8551, allocations: 452.6 kB / 0.7611 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.8562, allocations: 0.7865 MB / 0.7618 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004334/0.8606, allocations: 2.537 MB / 0.7643 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.8606, allocations: 0.8125 kB / 0.7643 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8606, allocations: 0.875 kB / 0.7643 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.114e-05/0.8607, allocations: 0 / 0.7643 GB, free: 1.453 MB / 0.5762 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.003676/0.8643, allocations: 1.892 MB / 0.7662 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.8644, allocations: 9.25 kB / 0.7662 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002031/0.8646, allocations: 178.9 kB / 0.7664 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002321/0.8669, allocations: 354.3 kB / 0.7667 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.8686, allocations: 0.9477 MB / 0.7676 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.726e-05/0.8687, allocations: 86.3 kB / 0.7677 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.8689, allocations: 118.6 kB / 0.7678 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/0.8712, allocations: 1.302 MB / 0.7691 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.8712, allocations: 1.156 kB / 0.7691 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/0.8713, allocations: 54.92 kB / 0.7691 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-05/0.8714, allocations: 28.25 kB / 0.7692 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002535/0.8739, allocations: 1.452 MB / 0.7706 GB, free: 15.83 MB / 0.5919 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.005863/0.8798, allocations: 4.067 MB / 0.7746 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.8817, allocations: 1.211 MB / 0.7757 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006667/0.8824, allocations: 456.3 kB / 0.7762 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007327/0.8831, allocations: 426.8 kB / 0.7766 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009736/0.8841, allocations: 0.6584 MB / 0.7772 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=106): time 2.645e-06/0.8841, allocations: 0 / 0.7772 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=106): time 0.003685/0.8878, allocations: 1.604 MB / 0.7788 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.8879, allocations: 199.6 kB / 0.779 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009577/0.8889, allocations: 0.8815 MB / 0.7798 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.139e-05/0.889, allocations: 50.48 kB / 0.7799 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.8894, allocations: 0.5139 MB / 0.7804 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.8896, allocations: 351.9 kB / 0.7807 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002617/0.8899, allocations: 190.6 kB / 0.7809 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.89, allocations: 344.8 kB / 0.7812 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006319/0.8906, allocations: 362.1 kB / 0.7816 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007441/0.8914, allocations: 0.4996 MB / 0.7821 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.8928, allocations: 0.8445 MB / 0.7829 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.8928, allocations: 0 / 0.7829 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002239/0.895, allocations: 1.121 MB / 0.784 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.895, allocations: 5.781 kB / 0.784 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.8951, allocations: 2.438 kB / 0.784 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005738/0.8956, allocations: 86.19 kB / 0.7841 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009018/0.8965, allocations: 225.8 kB / 0.7843 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/0.8985, allocations: 1.657 MB / 0.7859 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009349/0.8995, allocations: 126.2 kB / 0.786 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-05/0.8996, allocations: 40.22 kB / 0.7861 GB, free: 10.63 MB / 0.5919 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.0004716/0.9001, allocations: 325.2 kB / 0.7864 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.9003, allocations: 118.3 kB / 0.7865 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00281/0.9031, allocations: 1.502 MB / 0.788 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.9031, allocations: 13.41 kB / 0.788 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.9031, allocations: 0.9375 kB / 0.788 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.9031, allocations: 5.297 kB / 0.788 GB, free: 10.31 MB / 0.5919 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.004221/0.9074, allocations: 2.851 MB / 0.7908 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.9074, allocations: 1.031 kB / 0.7908 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008637/0.9082, allocations: 202.9 kB / 0.791 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004424/0.9087, allocations: 74.77 kB / 0.791 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.415e-05/0.9088, allocations: 40.03 kB / 0.7911 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/0.9106, allocations: 1.668 MB / 0.7927 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.9106, allocations: 7.375 kB / 0.7927 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003175/0.9138, allocations: 1.86 MB / 0.7945 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00047/0.9143, allocations: 348.3 kB / 0.7949 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/0.9144, allocations: 27.66 kB / 0.7949 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008803/0.9153, allocations: 77.48 kB / 0.795 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.9155, allocations: 90.47 kB / 0.795 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.218e-05/0.9156, allocations: 46.16 kB / 0.7951 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007223/0.9163, allocations: 0.6304 MB / 0.7957 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9163, allocations: 0 / 0.7957 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001117/0.9175, allocations: 457 kB / 0.7961 GB, free: 7.691 MB / 0.5919 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.004893/0.9224, allocations: 3.02 MB / 0.7991 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002854/0.9252, allocations: 1.336 MB / 0.8004 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.9252, allocations: 3.25 kB / 0.8004 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.9264, allocations: 0.6562 MB / 0.801 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/0.9286, allocations: 0.5255 MB / 0.8015 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/0.9419, allocations: 9.301 MB / 0.8106 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006826/0.9426, allocations: 1.158 MB / 0.8118 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001434/0.9441, allocations: 366 kB / 0.8121 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006382/0.9447, allocations: 0.5274 MB / 0.8126 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of SimCode: time 1.703e-06/0.9447, allocations: 0 / 0.8126 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06358/1.008, allocations: 32.85 MB / 0.8447 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/12.37, allocations: 6.562 kB / 0.8447 GB, free: 3.91 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.pipe 2>&1)