Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sources.Examples.Outside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside,fileNamePrefix="IDEAS_dev_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.001725/0.001725, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.446/1.446, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9368/0.9368, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 62.27 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1666, allocations: 80.92 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 0.4559/0.6225, allocations: 175.8 MB / 0.7561 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01526/0.6378, allocations: 10.77 MB / 0.7666 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/0.6394, allocations: 31.81 kB / 0.7667 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.641, allocations: 388.9 kB / 0.767 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003384/0.6444, allocations: 1.015 MB / 0.768 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004348/0.6488, allocations: 1.65 MB / 0.7696 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002802/0.6516, allocations: 2.159 MB / 0.7717 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00215/0.6537, allocations: 1.399 MB / 0.7731 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003044/0.6568, allocations: 1.21 MB / 0.7743 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.6579, allocations: 0.7429 MB / 0.775 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003112/0.6583, allocations: 144 kB / 0.7751 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.6609, allocations: 1.369 MB / 0.7765 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004554/0.6614, allocations: 422.7 kB / 0.7769 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009981/0.6624, allocations: 0.7151 MB / 0.7776 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003725/0.6662, allocations: 2.388 MB / 0.7799 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.6662, allocations: 0 / 0.7799 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6662, allocations: 0 / 0.7799 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.007e-05/0.6663, allocations: 4 kB / 0.7799 GB, free: 4.688 MB / 0.5919 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.003998/0.6703, allocations: 1.783 MB / 0.7817 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.6703, allocations: 8.031 kB / 0.7817 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003407/0.6707, allocations: 165.1 kB / 0.7818 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002331/0.673, allocations: 346 kB / 0.7822 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.6746, allocations: 0.9173 MB / 0.783 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.129e-05/0.6747, allocations: 86.23 kB / 0.7831 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.6749, allocations: 112 kB / 0.7832 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/0.6771, allocations: 1.23 MB / 0.7844 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.6771, allocations: 3.938 kB / 0.7844 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.6772, allocations: 52.44 kB / 0.7845 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.6773, allocations: 28 kB / 0.7845 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002361/0.6796, allocations: 1.402 MB / 0.7859 GB, free: 14.39 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.006297/0.6859, allocations: 3.711 MB / 0.7895 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/0.688, allocations: 1.119 MB / 0.7906 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007384/0.6888, allocations: 424.5 kB / 0.791 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007644/0.6895, allocations: 425.4 kB / 0.7914 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001104/0.6907, allocations: 0.5904 MB / 0.792 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=97): time 3.707e-06/0.6907, allocations: 0 / 0.792 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=97): time 0.004021/0.6947, allocations: 1.485 MB / 0.7934 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.6949, allocations: 196.9 kB / 0.7936 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.6963, allocations: 0.8361 MB / 0.7944 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.6964, allocations: 45.7 kB / 0.7945 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005162/0.6969, allocations: 0.5002 MB / 0.795 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000326/0.6973, allocations: 323.2 kB / 0.7953 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000322/0.6976, allocations: 178.5 kB / 0.7955 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.6977, allocations: 341.9 kB / 0.7958 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007441/0.6985, allocations: 325.8 kB / 0.7961 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007739/0.6993, allocations: 473.1 kB / 0.7965 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.7007, allocations: 0.7937 MB / 0.7973 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.7007, allocations: 3.938 kB / 0.7973 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002471/0.7032, allocations: 1.04 MB / 0.7983 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.7032, allocations: 4 kB / 0.7983 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.7032, allocations: 7.812 kB / 0.7984 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006059/0.7039, allocations: 80.88 kB / 0.7984 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008778/0.7047, allocations: 203.7 kB / 0.7986 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.7068, allocations: 1.654 MB / 0.8002 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008802/0.7077, allocations: 101.5 kB / 0.8003 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.529e-05/0.7078, allocations: 39.97 kB / 0.8004 GB, free: 14.96 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.000513/0.7083, allocations: 317.2 kB / 0.8007 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002713/0.7086, allocations: 114.5 kB / 0.8008 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003018/0.7116, allocations: 1.393 MB / 0.8021 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.7116, allocations: 12 kB / 0.8022 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.7117, allocations: 0 / 0.8022 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.7117, allocations: 11.91 kB / 0.8022 GB, free: 13.09 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.004565/0.7162, allocations: 2.65 MB / 0.8048 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.7163, allocations: 4 kB / 0.8048 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008856/0.7172, allocations: 195.7 kB / 0.8049 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004627/0.7176, allocations: 76.97 kB / 0.805 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.572e-05/0.7177, allocations: 27.98 kB / 0.805 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.7196, allocations: 1.685 MB / 0.8067 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7196, allocations: 0 / 0.8067 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003163/0.7227, allocations: 1.723 MB / 0.8084 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000476/0.7232, allocations: 319.5 kB / 0.8087 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.7234, allocations: 23.94 kB / 0.8087 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008218/0.7243, allocations: 67.92 kB / 0.8088 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.7244, allocations: 72.91 kB / 0.8088 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.634e-05/0.7245, allocations: 47.91 kB / 0.8089 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008202/0.7253, allocations: 0.6014 MB / 0.8095 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7254, allocations: 0 / 0.8095 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00112/0.7265, allocations: 423 kB / 0.8099 GB, free: 4.875 MB / 0.6231 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.004936/0.7314, allocations: 2.859 MB / 0.8127 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002826/0.7343, allocations: 1.23 MB / 0.8139 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.7343, allocations: 4 kB / 0.8139 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.7354, allocations: 0.6099 MB / 0.8145 GB, free: 320 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/0.7376, allocations: 0.5212 MB / 0.815 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0149/0.7526, allocations: 8.846 MB / 0.8236 GB, free: 6.629 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008635/0.7535, allocations: 1.136 MB / 0.8247 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001425/0.7549, allocations: 357.1 kB / 0.8251 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006971/0.7556, allocations: 491.2 kB / 0.8255 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of SimCode: time 7.72e-07/0.7556, allocations: 0 / 0.8255 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06337/0.819, allocations: 30.98 MB / 0.8558 GB, free: 6.031 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.62, allocations: 15.92 kB / 0.8558 GB, free: 6.016 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.pipe 2>&1)