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.008693/0.008693, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001693/0.001693, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8055/0.8055, allocations: 135.1 MB / 425.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.47 kB / 0.5851 GB, free: 21.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1584, allocations: 80.92 MB / 0.6641 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 0.5418/0.7002, allocations: 175.8 MB / 0.8358 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01339/0.7137, allocations: 10.76 MB / 0.8463 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.7149, allocations: 32.28 kB / 0.8463 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.7163, allocations: 392.1 kB / 0.8467 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00314/0.7194, allocations: 1.012 MB / 0.8477 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004108/0.7235, allocations: 1.666 MB / 0.8493 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002713/0.7263, allocations: 2.163 MB / 0.8514 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002236/0.7285, allocations: 1.394 MB / 0.8528 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003464/0.732, allocations: 1.228 MB / 0.854 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001496/0.7335, allocations: 0.7352 MB / 0.8547 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005183/0.734, allocations: 143.6 kB / 0.8549 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003871/0.7379, allocations: 1.404 MB / 0.8562 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008427/0.7388, allocations: 427.4 kB / 0.8566 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001707/0.7405, allocations: 0.7135 MB / 0.8573 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005252/0.7458, allocations: 2.438 MB / 0.8597 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.7458, allocations: 0 / 0.8597 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.465e-06/0.7458, allocations: 0 / 0.8597 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.733e-05/0.7459, allocations: 4 kB / 0.8597 GB, free: 7.242 MB / 0.6231 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.004758/0.7507, allocations: 1.772 MB / 0.8614 GB, free: 5.414 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/0.7507, allocations: 13.11 kB / 0.8615 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004405/0.7512, allocations: 169 kB / 0.8616 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002462/0.7536, allocations: 349.8 kB / 0.862 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.7557, allocations: 0.9485 MB / 0.8629 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.768e-05/0.7558, allocations: 86.23 kB / 0.863 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002342/0.756, allocations: 112 kB / 0.8631 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002696/0.7587, allocations: 1.234 MB / 0.8643 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/0.7588, allocations: 4 kB / 0.8643 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.7589, allocations: 48 kB / 0.8643 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.129e-05/0.7589, allocations: 28 kB / 0.8644 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002524/0.7615, allocations: 1.398 MB / 0.8657 GB, free: 0.9102 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 preOpt removeSimpleEquations (simulation): time 0.006502/0.768, allocations: 3.675 MB / 0.8693 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.77, allocations: 1.12 MB / 0.8704 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007307/0.7708, allocations: 423.6 kB / 0.8708 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007293/0.7715, allocations: 429.3 kB / 0.8712 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/0.7726, allocations: 0.5825 MB / 0.8718 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=97): time 4.298e-06/0.7726, allocations: 4 kB / 0.8718 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=97): time 0.003909/0.7765, allocations: 1.481 MB / 0.8732 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.7766, allocations: 192.9 kB / 0.8734 GB, free: 8.676 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.7778, allocations: 0.8438 MB / 0.8742 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-05/0.7779, allocations: 45.64 kB / 0.8743 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004005/0.7783, allocations: 0.4925 MB / 0.8748 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/0.7786, allocations: 335.2 kB / 0.8751 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/0.7789, allocations: 174.5 kB / 0.8753 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.779, allocations: 341.9 kB / 0.8756 GB, free: 6.402 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006356/0.7797, allocations: 321.8 kB / 0.8759 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007672/0.7804, allocations: 473.1 kB / 0.8763 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.7819, allocations: 0.7937 MB / 0.8771 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.7819, allocations: 0.875 kB / 0.8771 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002359/0.7842, allocations: 1.044 MB / 0.8781 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.7843, allocations: 8 kB / 0.8781 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.7843, allocations: 0 / 0.8781 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006034/0.7849, allocations: 80.88 kB / 0.8782 GB, free: 3.637 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008813/0.7858, allocations: 207.7 kB / 0.8784 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.7879, allocations: 1.652 MB / 0.88 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008915/0.7888, allocations: 106.9 kB / 0.8801 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.7889, allocations: 43.97 kB / 0.8802 GB, free: 1.484 MB / 0.6387 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.0005924/0.7895, allocations: 309.6 kB / 0.8805 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003194/0.7899, allocations: 114.6 kB / 0.8806 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002929/0.7928, allocations: 1.395 MB / 0.8819 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.7928, allocations: 12 kB / 0.8819 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.7928, allocations: 0 / 0.8819 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.7928, allocations: 7.984 kB / 0.882 GB, free: 15.62 MB / 0.6544 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.004858/0.7977, allocations: 2.655 MB / 0.8845 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.7977, allocations: 8.031 kB / 0.8846 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008609/0.7986, allocations: 195.7 kB / 0.8847 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004508/0.7991, allocations: 76.78 kB / 0.8848 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.187e-05/0.7992, allocations: 31.98 kB / 0.8848 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.801, allocations: 1.673 MB / 0.8865 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.801, allocations: 7.938 kB / 0.8865 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003217/0.8042, allocations: 1.717 MB / 0.8882 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006472/0.8049, allocations: 319.5 kB / 0.8885 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.8051, allocations: 31.84 kB / 0.8885 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008401/0.806, allocations: 67.92 kB / 0.8886 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.8061, allocations: 76.84 kB / 0.8886 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.495e-05/0.8062, allocations: 48.03 kB / 0.8887 GB, free: 8.418 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008699/0.8071, allocations: 0.5975 MB / 0.8893 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8071, allocations: 0 / 0.8893 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001178/0.8083, allocations: 415.2 kB / 0.8897 GB, free: 7.402 MB / 0.6544 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.004955/0.8133, allocations: 2.858 MB / 0.8925 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002053/0.8153, allocations: 0.9918 MB / 0.8934 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.8154, allocations: 0 / 0.8934 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.8164, allocations: 0.6138 MB / 0.894 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/0.8188, allocations: 0.5076 MB / 0.8945 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01504/0.8339, allocations: 8.404 MB / 0.9027 GB, free: 9.977 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008661/0.8348, allocations: 1.13 MB / 0.9038 GB, free: 8.816 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001279/0.8361, allocations: 361.1 kB / 0.9042 GB, free: 8.461 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007959/0.8369, allocations: 495.2 kB / 0.9046 GB, free: 7.977 MB / 0.67 GB Notification: Performance of SimCode: time 1.092e-06/0.8369, allocations: 0 / 0.9046 GB, free: 7.977 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06944/0.9064, allocations: 31.8 MB / 0.9357 GB, free: 8.473 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/14.1, allocations: 11.8 kB / 0.9357 GB, free: 8.465 MB / 0.7012 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.pipe 2>&1)