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.001655/0.001655, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.002386/0.002386, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.493/2.493, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.167/1.167, allocations: 132.2 MB / 423.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000493/0.0004933, allocations: 11.94 kB / 0.5033 GB, free: 4.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6709/0.6714, allocations: 81.57 MB / 0.583 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.2446/0.9161, allocations: 140.1 MB / 0.7198 GB, free: 4.145 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.023/0.9391, allocations: 14.08 MB / 0.7335 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0023/0.9415, allocations: 27.81 kB / 0.7335 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002229/0.9438, allocations: 330.1 kB / 0.7338 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006494/0.9503, allocations: 1.298 MB / 0.7351 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004113/0.9545, allocations: 1.08 MB / 0.7362 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003754/0.9582, allocations: 1.513 MB / 0.7376 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003059/0.9613, allocations: 1.468 MB / 0.7391 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002745/0.9641, allocations: 0.8835 MB / 0.7399 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.9656, allocations: 0.6702 MB / 0.7406 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000259/0.9659, allocations: 44 kB / 0.7406 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003246/0.9692, allocations: 0.9829 MB / 0.7416 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006605/0.9699, allocations: 0.5373 MB / 0.7421 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006724/0.9705, allocations: 400.5 kB / 0.7425 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004204/0.9747, allocations: 2.541 MB / 0.745 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.433e-06/0.9748, allocations: 4 kB / 0.745 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.817e-06/0.9748, allocations: 0 / 0.745 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.594e-05/0.9749, allocations: 0 / 0.745 GB, free: 10.24 MB / 0.5762 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.005385/0.9803, allocations: 2.331 MB / 0.7473 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.9804, allocations: 8.031 kB / 0.7473 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005049/0.9809, allocations: 244.5 kB / 0.7475 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004048/0.9849, allocations: 0.5552 MB / 0.748 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005645/0.9906, allocations: 3.289 MB / 0.7513 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.9908, allocations: 131.3 kB / 0.7514 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002905/0.9911, allocations: 163.9 kB / 0.7515 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005284/0.9964, allocations: 1.849 MB / 0.7533 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.9964, allocations: 0 / 0.7533 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/0.9966, allocations: 83.95 kB / 0.7534 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.095e-05/0.9967, allocations: 40 kB / 0.7535 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004965/1.002, allocations: 2.03 MB / 0.7554 GB, free: 15.34 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.01234/1.014, allocations: 6.088 MB / 0.7614 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003587/1.018, allocations: 1.754 MB / 0.7631 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001934/1.018, allocations: 73.3 kB / 0.7632 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001767/1.02, allocations: 0.9192 MB / 0.7641 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=137): time 3.306e-06/1.02, allocations: 0 / 0.7641 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137): time 0.007513/1.027, allocations: 2.843 MB / 0.7669 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001675/1.027, allocations: 197.2 kB / 0.767 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00604/1.033, allocations: 3.999 MB / 0.7709 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004756/1.034, allocations: 57.7 kB / 0.771 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001054/1.035, allocations: 0.8667 MB / 0.7718 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008399/1.036, allocations: 457.3 kB / 0.7723 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/1.036, allocations: 20 kB / 0.7723 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002302/1.036, allocations: 345.9 kB / 0.7726 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/1.037, allocations: 0.5335 MB / 0.7732 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/1.039, allocations: 0.7461 MB / 0.7739 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/1.04, allocations: 0.6154 MB / 0.7745 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/1.04, allocations: 0 / 0.7745 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003986/1.044, allocations: 1.678 MB / 0.7761 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/1.044, allocations: 8 kB / 0.7761 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.044, allocations: 4.094 kB / 0.7761 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/1.045, allocations: 220.1 kB / 0.7763 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/1.047, allocations: 311.6 kB / 0.7766 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006973/1.054, allocations: 6.835 MB / 0.7833 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002173/1.056, allocations: 166.9 kB / 0.7835 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/1.057, allocations: 47.91 kB / 0.7835 GB, free: 1.355 MB / 0.6075 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00127/1.058, allocations: 474.3 kB / 0.784 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004249/1.058, allocations: 185.8 kB / 0.7841 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004909/1.063, allocations: 2.047 MB / 0.7861 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/1.063, allocations: 16 kB / 0.7862 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/1.063, allocations: 4 kB / 0.7862 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.158e-05/1.063, allocations: 7.969 kB / 0.7862 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0079/1.071, allocations: 3.757 MB / 0.7898 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/1.071, allocations: 4 kB / 0.7898 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/1.073, allocations: 315.6 kB / 0.7901 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001065/1.074, allocations: 220.2 kB / 0.7904 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/1.074, allocations: 39.97 kB / 0.7904 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006423/1.08, allocations: 6.881 MB / 0.7971 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.081, allocations: 7.938 kB / 0.7971 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004684/1.085, allocations: 2.071 MB / 0.7991 GB, free: 428 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/1.087, allocations: 0.506 MB / 0.7996 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003149/1.087, allocations: 35.98 kB / 0.7997 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/1.088, allocations: 124.5 kB / 0.7998 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002687/1.089, allocations: 117 kB / 0.7999 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001551/1.089, allocations: 67.95 kB / 0.8 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003934/1.093, allocations: 3.076 MB / 0.803 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.11e-07/1.093, allocations: 0 / 0.803 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002401/1.095, allocations: 0.643 MB / 0.8036 GB, free: 11.84 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006776/1.102, allocations: 3.79 MB / 0.8073 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003882/1.106, allocations: 1.965 MB / 0.8092 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/1.106, allocations: 0.7969 kB / 0.8092 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002288/1.108, allocations: 1.376 MB / 0.8106 GB, free: 4.703 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00273/1.111, allocations: 475.4 kB / 0.811 GB, free: 4.246 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4717/1.583, allocations: 19 MB / 0.8296 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004269/1.587, allocations: 1.547 MB / 0.8311 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005964/1.593, allocations: 0.5053 MB / 0.8316 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002995/1.596, allocations: 0.8548 MB / 0.8324 GB, free: 205.9 MB / 0.6387 GB Notification: Performance of SimCode: time 2.545e-06/1.596, allocations: 0 / 0.8324 GB, free: 205.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1467/1.743, allocations: 46.68 MB / 0.878 GB, free: 168.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000293/1.743, allocations: 240.8 kB / 0.8782 GB, free: 168.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.737/7.48, allocations: 0 / 0.8782 GB, free: 168.2 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/linux/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) Environment - environmentSimulation: