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.001385/0.001385, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001621/0.001621, allocations: 194.9 kB / 16.25 MB, free: 6.621 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.237/1.237, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6873/0.6873, allocations: 132.2 MB / 422.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 57.28 kB / 0.5013 GB, free: 4.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.325, allocations: 80.2 MB / 0.5797 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 0.1718/0.4968, allocations: 173.4 MB / 0.749 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01299/0.5098, allocations: 10.64 MB / 0.7594 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007669/0.5106, allocations: 31.81 kB / 0.7595 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00092/0.5115, allocations: 325.9 kB / 0.7598 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002199/0.5138, allocations: 0.9195 MB / 0.7607 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003262/0.517, allocations: 1.514 MB / 0.7621 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00192/0.519, allocations: 2.171 MB / 0.7643 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/0.5205, allocations: 1.373 MB / 0.7656 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002914/0.5234, allocations: 1.196 MB / 0.7668 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007334/0.5241, allocations: 0.7624 MB / 0.7675 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.5243, allocations: 148 kB / 0.7677 GB, free: 480 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002195/0.5265, allocations: 1.408 MB / 0.769 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004319/0.527, allocations: 426.6 kB / 0.7694 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000594/0.5276, allocations: 0.719 MB / 0.7701 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00256/0.5301, allocations: 2.446 MB / 0.7725 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5302, allocations: 0 / 0.7725 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5302, allocations: 4 kB / 0.7725 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.5302, allocations: 0 / 0.7725 GB, free: 11.46 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.002715/0.5329, allocations: 1.775 MB / 0.7743 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.5329, allocations: 12.03 kB / 0.7743 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001853/0.5331, allocations: 173 kB / 0.7744 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/0.5352, allocations: 338 kB / 0.7748 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.5365, allocations: 0.9173 MB / 0.7757 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-05/0.5366, allocations: 90.23 kB / 0.7757 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.5368, allocations: 108 kB / 0.7758 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.5388, allocations: 1.23 MB / 0.777 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.5388, allocations: 4 kB / 0.7771 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.5389, allocations: 44 kB / 0.7771 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.539, allocations: 28 kB / 0.7771 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/0.5412, allocations: 1.406 MB / 0.7785 GB, free: 5.168 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.005293/0.5465, allocations: 3.701 MB / 0.7821 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/0.5484, allocations: 1.117 MB / 0.7832 GB, free: 176 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007095/0.5491, allocations: 425.3 kB / 0.7836 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007294/0.5499, allocations: 421.2 kB / 0.784 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.5509, allocations: 0.5903 MB / 0.7846 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=97): time 2.595e-06/0.5509, allocations: 0 / 0.7846 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=97): time 0.003751/0.5547, allocations: 1.485 MB / 0.786 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.108e-05/0.5548, allocations: 192.9 kB / 0.7862 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009534/0.5557, allocations: 0.8322 MB / 0.787 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.151e-05/0.5558, allocations: 45.7 kB / 0.7871 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003579/0.5562, allocations: 0.5041 MB / 0.7876 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/0.5564, allocations: 327.2 kB / 0.7879 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002724/0.5567, allocations: 178.5 kB / 0.788 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5568, allocations: 341.9 kB / 0.7884 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006235/0.5575, allocations: 329.8 kB / 0.7887 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007722/0.5583, allocations: 473.1 kB / 0.7891 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.5597, allocations: 0.7899 MB / 0.7899 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5597, allocations: 0 / 0.7899 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002216/0.5619, allocations: 1.036 MB / 0.7909 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.5619, allocations: 4 kB / 0.7909 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.5619, allocations: 7.984 kB / 0.7909 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006233/0.5626, allocations: 84.88 kB / 0.791 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009038/0.5635, allocations: 215.6 kB / 0.7912 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/0.5655, allocations: 1.646 MB / 0.7928 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007707/0.5663, allocations: 115 kB / 0.7929 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.548e-05/0.5664, allocations: 39.98 kB / 0.793 GB, free: 5.723 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.0004283/0.5668, allocations: 311.1 kB / 0.7933 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.567, allocations: 118.5 kB / 0.7934 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002893/0.5699, allocations: 1.399 MB / 0.7948 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.5699, allocations: 15.98 kB / 0.7948 GB, free: 3.859 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.57, allocations: 0 / 0.7948 GB, free: 3.859 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.57, allocations: 3.984 kB / 0.7948 GB, free: 3.855 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.004149/0.5741, allocations: 2.65 MB / 0.7974 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.5741, allocations: 4 kB / 0.7974 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000895/0.575, allocations: 199.7 kB / 0.7976 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004435/0.5755, allocations: 76.97 kB / 0.7976 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.76e-05/0.5756, allocations: 31.98 kB / 0.7977 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/0.5774, allocations: 1.674 MB / 0.7993 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/0.5774, allocations: 7.938 kB / 0.7993 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00303/0.5805, allocations: 1.711 MB / 0.801 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003868/0.5809, allocations: 327.4 kB / 0.8013 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.581, allocations: 28 kB / 0.8013 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008202/0.5818, allocations: 68.08 kB / 0.8014 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.582, allocations: 84.83 kB / 0.8015 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.08e-05/0.5821, allocations: 51.95 kB / 0.8015 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007185/0.5828, allocations: 0.5897 MB / 0.8021 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5828, allocations: 0 / 0.8021 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000941/0.5838, allocations: 427.1 kB / 0.8025 GB, free: 11.62 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.004599/0.5884, allocations: 2.867 MB / 0.8053 GB, free: 8.938 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002583/0.591, allocations: 1.237 MB / 0.8065 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.591, allocations: 0 / 0.8065 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.592, allocations: 0.6061 MB / 0.8071 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/0.594, allocations: 0.5022 MB / 0.8076 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2272/0.8212, allocations: 9.307 MB / 0.8167 GB, free: 216 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006247/0.8219, allocations: 1.137 MB / 0.8178 GB, free: 215.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001323/0.8232, allocations: 360.9 kB / 0.8181 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006053/0.8238, allocations: 499.4 kB / 0.8186 GB, free: 215 MB / 0.6387 GB Notification: Performance of SimCode: time 9.11e-07/0.8238, allocations: 0 / 0.8186 GB, free: 215 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.714/2.538, allocations: 30.78 MB / 0.8487 GB, free: 201.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/2.538, allocations: 264.3 kB / 0.8489 GB, free: 201 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.91/5.449, allocations: 3.719 kB / 0.8489 GB, free: 201 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)