Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sources.Examples.Outside,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside,fileNamePrefix="IDEAS_IDEAS_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.0008068/0.0008068, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004905/0.004905, allocations: 170.4 kB / 16.27 MB, free: 6.648 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.228/1.228, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7004/0.7004, allocations: 132.3 MB / 423.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002986, allocations: 8 kB / 0.5041 GB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3699, allocations: 81.58 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 0.1754/0.5454, allocations: 171.2 MB / 0.7509 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01294/0.5584, allocations: 10.64 MB / 0.7613 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008809/0.5593, allocations: 27.81 kB / 0.7613 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009174/0.5602, allocations: 317.9 kB / 0.7616 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002307/0.5625, allocations: 0.905 MB / 0.7625 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003517/0.5661, allocations: 1.489 MB / 0.764 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002336/0.5684, allocations: 2.463 MB / 0.7664 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.5698, allocations: 1.205 MB / 0.7676 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002775/0.5726, allocations: 1.005 MB / 0.7685 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006698/0.5733, allocations: 0.6258 MB / 0.7692 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.653e-05/0.5734, allocations: 44 kB / 0.7692 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.5757, allocations: 1.415 MB / 0.7706 GB, free: 436 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002653/0.5759, allocations: 306.8 kB / 0.7709 GB, free: 128 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005087/0.5765, allocations: 0.6074 MB / 0.7715 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002307/0.5788, allocations: 2.325 MB / 0.7737 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5788, allocations: 0 / 0.7737 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5788, allocations: 0 / 0.7737 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.5788, allocations: 0 / 0.7737 GB, free: 13.18 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.002431/0.5813, allocations: 1.506 MB / 0.7752 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.5813, allocations: 8.031 kB / 0.7752 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001951/0.5815, allocations: 169 kB / 0.7754 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00207/0.5836, allocations: 354 kB / 0.7757 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.5849, allocations: 0.9135 MB / 0.7766 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.836e-05/0.585, allocations: 86.17 kB / 0.7767 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.5852, allocations: 119.9 kB / 0.7768 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/0.5872, allocations: 1.238 MB / 0.778 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.5873, allocations: 0 / 0.778 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.5874, allocations: 48 kB / 0.7781 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.5874, allocations: 28 kB / 0.7781 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.5897, allocations: 1.406 MB / 0.7795 GB, free: 7.129 MB / 0.6075 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.005393/0.5951, allocations: 3.728 MB / 0.7831 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.5971, allocations: 1.129 MB / 0.7842 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007197/0.5978, allocations: 421.5 kB / 0.7846 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007321/0.5986, allocations: 441.4 kB / 0.785 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.5996, allocations: 0.5904 MB / 0.7856 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=97): time 2.244e-06/0.5996, allocations: 0 / 0.7856 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=97): time 0.003726/0.6033, allocations: 1.5 MB / 0.7871 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.926e-05/0.6035, allocations: 196.9 kB / 0.7873 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.6045, allocations: 0.8361 MB / 0.7881 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.421e-05/0.6046, allocations: 49.7 kB / 0.7881 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000377/0.605, allocations: 0.4885 MB / 0.7886 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/0.6052, allocations: 327.2 kB / 0.7889 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.6054, allocations: 81.67 kB / 0.789 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.6055, allocations: 341.9 kB / 0.7893 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006655/0.6062, allocations: 337.7 kB / 0.7896 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000795/0.607, allocations: 477 kB / 0.7901 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.6085, allocations: 0.8016 MB / 0.7909 GB, free: 11 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6085, allocations: 0 / 0.7909 GB, free: 11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00225/0.6108, allocations: 1.044 MB / 0.7919 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.6108, allocations: 4 kB / 0.7919 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.6108, allocations: 0 / 0.7919 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005916/0.6114, allocations: 92.8 kB / 0.792 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008902/0.6123, allocations: 199.8 kB / 0.7922 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/0.6142, allocations: 1.543 MB / 0.7937 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009698/0.6152, allocations: 119.1 kB / 0.7938 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.079e-05/0.6153, allocations: 43.98 kB / 0.7938 GB, free: 7.801 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * 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.0004485/0.6158, allocations: 307.1 kB / 0.7941 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.6159, allocations: 114.5 kB / 0.7942 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002906/0.6189, allocations: 1.41 MB / 0.7956 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.6189, allocations: 15.98 kB / 0.7956 GB, free: 5.934 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.6189, allocations: 0 / 0.7956 GB, free: 5.934 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.6189, allocations: 3.984 kB / 0.7956 GB, free: 5.93 MB / 0.6231 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.004251/0.6232, allocations: 2.661 MB / 0.7982 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.6232, allocations: 4 kB / 0.7982 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008774/0.6241, allocations: 200 kB / 0.7984 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005221/0.6246, allocations: 92.64 kB / 0.7985 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.581e-05/0.6247, allocations: 35.98 kB / 0.7985 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/0.6265, allocations: 1.555 MB / 0.8001 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.6265, allocations: 0 / 0.8001 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003125/0.6296, allocations: 1.739 MB / 0.8018 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004404/0.6301, allocations: 335.4 kB / 0.8021 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.6302, allocations: 31.92 kB / 0.8021 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000856/0.6311, allocations: 83.84 kB / 0.8022 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.6312, allocations: 80.83 kB / 0.8023 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-05/0.6313, allocations: 47.97 kB / 0.8023 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007812/0.6321, allocations: 0.5936 MB / 0.8029 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6321, allocations: 0 / 0.8029 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001019/0.6331, allocations: 415.2 kB / 0.8033 GB, free: 13.75 MB / 0.6387 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.004835/0.638, allocations: 2.875 MB / 0.8061 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001963/0.64, allocations: 0.9991 MB / 0.8071 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.64, allocations: 0 / 0.8071 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.6411, allocations: 0.6139 MB / 0.8077 GB, free: 9.426 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/0.6434, allocations: 478.8 kB / 0.8081 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2634/0.9068, allocations: 9.447 MB / 0.8174 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/0.9081, allocations: 1.137 MB / 0.8185 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001792/0.9099, allocations: 356.3 kB / 0.8188 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008658/0.9108, allocations: 494.1 kB / 0.8193 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of SimCode: time 1.563e-06/0.9108, allocations: 0 / 0.8193 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.426/1.337, allocations: 29.62 MB / 0.8482 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/1.337, allocations: 245.9 kB / 0.8484 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.905/4.242, allocations: 0 / 0.8484 GB, free: 202.6 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside.pipe 2>&1)