Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.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_CpData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData",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.001025/0.001025, allocations: 97.64 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.007445/0.007445, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.248/1.248, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7532/0.7532, allocations: 132.3 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 8 kB / 0.5041 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3901, allocations: 81.57 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.1775/0.5677, allocations: 162.4 MB / 0.7424 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01978/0.5875, allocations: 16.92 MB / 0.7589 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009458/0.5885, allocations: 27.81 kB / 0.7589 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.5897, allocations: 449.3 kB / 0.7593 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004224/0.594, allocations: 1.461 MB / 0.7608 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003384/0.5974, allocations: 1.232 MB / 0.762 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003285/0.6007, allocations: 2.767 MB / 0.7647 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002265/0.603, allocations: 1.686 MB / 0.7663 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004483/0.6074, allocations: 1.035 MB / 0.7673 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.6086, allocations: 0.8277 MB / 0.7681 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.6088, allocations: 44 kB / 0.7682 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003082/0.6119, allocations: 1.505 MB / 0.7696 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005217/0.6124, allocations: 0.5759 MB / 0.7702 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009718/0.6134, allocations: 0.9684 MB / 0.7712 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003715/0.6171, allocations: 3.344 MB / 0.7744 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.6171, allocations: 0 / 0.7744 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.445e-06/0.6171, allocations: 0 / 0.7744 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.289e-05/0.6172, allocations: 0 / 0.7744 GB, free: 12.52 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.003699/0.6209, allocations: 2.3 MB / 0.7767 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.6209, allocations: 8.031 kB / 0.7767 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002991/0.6212, allocations: 240.5 kB / 0.7769 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003627/0.6249, allocations: 0.5707 MB / 0.7775 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003698/0.6286, allocations: 3.346 MB / 0.7807 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.234e-05/0.6287, allocations: 127.2 kB / 0.7808 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/0.6289, allocations: 164 kB / 0.781 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003111/0.632, allocations: 1.88 MB / 0.7828 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.6321, allocations: 0 / 0.7828 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001568/0.6322, allocations: 75.94 kB / 0.7829 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.986e-05/0.6323, allocations: 40 kB / 0.7829 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003344/0.6356, allocations: 2.042 MB / 0.7849 GB, free: 1.547 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.008612/0.6442, allocations: 6.115 MB / 0.7909 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003064/0.6473, allocations: 2.015 MB / 0.7929 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/0.6485, allocations: 0.7381 MB / 0.7936 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005419/0.6491, allocations: 429.7 kB / 0.794 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001573/0.6506, allocations: 0.9426 MB / 0.7949 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=137): time 2.845e-06/0.6507, allocations: 0 / 0.7949 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of matching and sorting (n=137): time 0.00639/0.6571, allocations: 2.856 MB / 0.7977 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.436e-05/0.6572, allocations: 197.2 kB / 0.7979 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004306/0.6615, allocations: 4.011 MB / 0.8018 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000163/0.6617, allocations: 57.7 kB / 0.8019 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007707/0.6624, allocations: 0.8667 MB / 0.8027 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004173/0.6629, allocations: 457.3 kB / 0.8032 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.663, allocations: 89.67 kB / 0.8033 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.6632, allocations: 353.9 kB / 0.8036 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.6642, allocations: 0.5413 MB / 0.8041 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/0.6654, allocations: 0.7657 MB / 0.8049 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002225/0.6677, allocations: 1.263 MB / 0.8061 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.6677, allocations: 4 kB / 0.8061 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003626/0.6713, allocations: 1.686 MB / 0.8077 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.6714, allocations: 11.97 kB / 0.8078 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.6714, allocations: 0 / 0.8078 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.6725, allocations: 216.1 kB / 0.808 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.6739, allocations: 307.6 kB / 0.8083 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005745/0.6797, allocations: 6.807 MB / 0.8149 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.6812, allocations: 174.9 kB / 0.8151 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.6814, allocations: 47.97 kB / 0.8151 GB, free: 1.223 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009304/0.6823, allocations: 477.6 kB / 0.8156 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002851/0.6826, allocations: 185.8 kB / 0.8158 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2792/0.9618, allocations: 2.044 MB / 0.8177 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.9618, allocations: 18.42 kB / 0.8178 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.9618, allocations: 2.984 kB / 0.8178 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/0.9618, allocations: 10.73 kB / 0.8178 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006472/0.9683, allocations: 3.917 MB / 0.8216 GB, free: 215 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.9683, allocations: 0 / 0.8216 GB, free: 215 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/0.9697, allocations: 315 kB / 0.8219 GB, free: 215 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009065/0.9706, allocations: 218.5 kB / 0.8221 GB, free: 215 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.33e-05/0.9707, allocations: 38.92 kB / 0.8222 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00382/0.9745, allocations: 6.841 MB / 0.8288 GB, free: 208.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9745, allocations: 0.7969 kB / 0.8288 GB, free: 208.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003313/0.9779, allocations: 1.91 MB / 0.8307 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006564/0.9785, allocations: 0.5025 MB / 0.8312 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.9787, allocations: 26.62 kB / 0.8312 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.9798, allocations: 134.5 kB / 0.8313 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/0.9801, allocations: 106.9 kB / 0.8314 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/0.9802, allocations: 69.19 kB / 0.8315 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002674/0.9829, allocations: 3.09 MB / 0.8345 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9829, allocations: 1.062 kB / 0.8345 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001386/0.9843, allocations: 0.6367 MB / 0.8351 GB, free: 206.1 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004652/0.9889, allocations: 3.101 MB / 0.8382 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002876/0.9918, allocations: 1.973 MB / 0.8401 GB, free: 203.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.9918, allocations: 9.812 kB / 0.8401 GB, free: 203.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.9936, allocations: 1.382 MB / 0.8415 GB, free: 203 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/0.9959, allocations: 0.4915 MB / 0.8419 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02681/1.023, allocations: 22.67 MB / 0.8641 GB, free: 184.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000829/1.024, allocations: 1.509 MB / 0.8656 GB, free: 183.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001832/1.025, allocations: 0.513 MB / 0.8661 GB, free: 182.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009289/1.026, allocations: 0.8507 MB / 0.8669 GB, free: 181.9 MB / 0.6387 GB Notification: Performance of SimCode: time 6.82e-07/1.026, allocations: 4 kB / 0.8669 GB, free: 181.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2521/1.278, allocations: 43.94 MB / 0.9098 GB, free: 138.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/1.279, allocations: 264.3 kB / 0.9101 GB, free: 138.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.292/4.57, allocations: 7.875 kB / 0.9101 GB, free: 138.1 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)