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.001957/0.001957, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002598/0.002598, allocations: 191.4 kB / 16.25 MB, free: 6.637 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.824/1.824, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.185/1.185, allocations: 135.1 MB / 425.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002749/0.002749, allocations: 59.91 kB / 0.505 GB, free: 5.562 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2534, allocations: 80.93 MB / 0.584 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 0.7065/0.9599, allocations: 173.4 MB / 0.7533 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02033/0.9803, allocations: 10.62 MB / 0.7637 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002198/0.9826, allocations: 27.81 kB / 0.7637 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002033/0.9846, allocations: 325.9 kB / 0.764 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005143/0.9899, allocations: 0.9242 MB / 0.7649 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005882/0.9958, allocations: 1.52 MB / 0.7664 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003422/0.9992, allocations: 2.163 MB / 0.7685 GB, free: 300 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002679/1.002, allocations: 1.396 MB / 0.7699 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004347/1.006, allocations: 1.194 MB / 0.7711 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/1.008, allocations: 0.7663 MB / 0.7718 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004447/1.008, allocations: 144 kB / 0.772 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00337/1.012, allocations: 1.407 MB / 0.7733 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006033/1.012, allocations: 426.7 kB / 0.7737 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001199/1.013, allocations: 0.7152 MB / 0.7744 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00475/1.018, allocations: 2.446 MB / 0.7768 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/1.018, allocations: 0 / 0.7768 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.924e-06/1.018, allocations: 0 / 0.7768 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.689e-05/1.018, allocations: 4 kB / 0.7768 GB, free: 7.77 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.004845/1.023, allocations: 1.783 MB / 0.7786 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/1.023, allocations: 8.031 kB / 0.7786 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003643/1.024, allocations: 173 kB / 0.7787 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002425/1.026, allocations: 349.9 kB / 0.7791 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/1.028, allocations: 0.9057 MB / 0.78 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.189e-05/1.028, allocations: 86.23 kB / 0.78 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/1.028, allocations: 108 kB / 0.7801 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/1.031, allocations: 1.234 MB / 0.7814 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/1.031, allocations: 0 / 0.7814 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/1.031, allocations: 51.98 kB / 0.7814 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.824e-05/1.031, allocations: 35.98 kB / 0.7814 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002516/1.033, allocations: 1.394 MB / 0.7828 GB, free: 1.473 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.006728/1.04, allocations: 3.698 MB / 0.7864 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/1.042, allocations: 1.116 MB / 0.7875 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008124/1.043, allocations: 430.8 kB / 0.7879 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008283/1.044, allocations: 425.3 kB / 0.7883 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001141/1.045, allocations: 0.5825 MB / 0.7889 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=97): time 3.146e-06/1.045, allocations: 0 / 0.7889 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=97): time 0.004322/1.05, allocations: 1.496 MB / 0.7903 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/1.05, allocations: 188.9 kB / 0.7905 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/1.051, allocations: 0.84 MB / 0.7913 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/1.051, allocations: 45.7 kB / 0.7914 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004582/1.052, allocations: 0.4963 MB / 0.7919 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003654/1.052, allocations: 327.2 kB / 0.7922 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003426/1.052, allocations: 178.5 kB / 0.7924 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.052, allocations: 349.9 kB / 0.7927 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007859/1.053, allocations: 325.2 kB / 0.793 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009718/1.054, allocations: 477 kB / 0.7935 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/1.056, allocations: 0.7899 MB / 0.7942 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/1.056, allocations: 3.938 kB / 0.7942 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002526/1.058, allocations: 1.04 MB / 0.7952 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/1.058, allocations: 4 kB / 0.7952 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/1.058, allocations: 0 / 0.7952 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006392/1.059, allocations: 84.84 kB / 0.7953 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009544/1.06, allocations: 207.7 kB / 0.7955 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/1.063, allocations: 1.647 MB / 0.7971 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009953/1.064, allocations: 115.2 kB / 0.7972 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/1.064, allocations: 39.97 kB / 0.7973 GB, free: 2.039 MB / 0.6075 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.0006753/1.064, allocations: 301.6 kB / 0.7976 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003331/1.065, allocations: 114.5 kB / 0.7977 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003287/1.068, allocations: 1.408 MB / 0.7991 GB, free: 204 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/1.068, allocations: 12 kB / 0.7991 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.068, allocations: 0 / 0.7991 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/1.068, allocations: 3.984 kB / 0.7991 GB, free: 188 kB / 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 postOpt removeSimpleEquations (simulation): time 0.005037/1.073, allocations: 2.65 MB / 0.8017 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/1.073, allocations: 4.047 kB / 0.8017 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009655/1.074, allocations: 195.8 kB / 0.8018 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004973/1.075, allocations: 76.97 kB / 0.8019 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.21e-05/1.075, allocations: 35.97 kB / 0.802 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002327/1.077, allocations: 1.677 MB / 0.8036 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.077, allocations: 3.938 kB / 0.8036 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004594/1.082, allocations: 1.719 MB / 0.8053 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007601/1.083, allocations: 319.5 kB / 0.8056 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000318/1.083, allocations: 27.94 kB / 0.8056 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/1.084, allocations: 86.58 kB / 0.8057 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/1.084, allocations: 72.84 kB / 0.8058 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/1.084, allocations: 51.97 kB / 0.8058 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001151/1.086, allocations: 0.6014 MB / 0.8064 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.2e-07/1.086, allocations: 0 / 0.8064 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001699/1.087, allocations: 415.2 kB / 0.8068 GB, free: 7.949 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.006692/1.094, allocations: 2.862 MB / 0.8096 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003248/1.097, allocations: 1.238 MB / 0.8108 GB, free: 4 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/1.097, allocations: 320 / 0.8108 GB, free: 4 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001264/1.099, allocations: 0.6132 MB / 0.8114 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002768/1.101, allocations: 0.509 MB / 0.8119 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01946/1.121, allocations: 9.314 MB / 0.821 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009672/1.122, allocations: 1.136 MB / 0.8221 GB, free: 8.074 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001601/1.123, allocations: 361.1 kB / 0.8224 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007911/1.124, allocations: 495.2 kB / 0.8229 GB, free: 7.234 MB / 0.6387 GB Notification: Performance of SimCode: time 9.72e-07/1.124, allocations: 0 / 0.8229 GB, free: 7.234 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5387/1.663, allocations: 30.78 MB / 0.853 GB, free: 8.867 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003977/1.663, allocations: 257.9 kB / 0.8532 GB, free: 8.613 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.319/5.983, allocations: 0 / 0.8532 GB, free: 8.613 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 & /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)