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.00142/0.00142, 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.00168/0.00168, allocations: 190.9 kB / 16.25 MB, free: 6.625 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.272/1.272, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7038/0.7038, allocations: 132.2 MB / 422.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 60.16 kB / 0.5014 GB, free: 9.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1306, allocations: 80.21 MB / 0.5797 GB, free: 9.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.3699/0.5005, allocations: 164.6 MB / 0.7405 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01943/0.52, allocations: 16.91 MB / 0.757 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.5212, allocations: 30.44 kB / 0.757 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.5227, allocations: 469.1 kB / 0.7574 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004065/0.5268, allocations: 1.499 MB / 0.7589 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002984/0.5298, allocations: 1.247 MB / 0.7601 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002615/0.5324, allocations: 2.531 MB / 0.7626 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002377/0.5348, allocations: 1.952 MB / 0.7645 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004507/0.5393, allocations: 1.351 MB / 0.7658 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.5406, allocations: 1.066 MB / 0.7669 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004126/0.5411, allocations: 208 kB / 0.7671 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002518/0.5436, allocations: 1.544 MB / 0.7686 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007535/0.5443, allocations: 0.7751 MB / 0.7693 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001305/0.5457, allocations: 1.177 MB / 0.7705 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003949/0.5496, allocations: 3.516 MB / 0.7739 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.5496, allocations: 0 / 0.7739 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5497, allocations: 3.938 kB / 0.7739 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.301e-05/0.5497, allocations: 0 / 0.7739 GB, free: 12.29 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.004829/0.5546, allocations: 2.778 MB / 0.7766 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.5546, allocations: 12.03 kB / 0.7766 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002713/0.5549, allocations: 240.5 kB / 0.7769 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003684/0.5586, allocations: 0.5551 MB / 0.7774 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003882/0.5625, allocations: 3.357 MB / 0.7807 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.214e-05/0.5626, allocations: 127.3 kB / 0.7808 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/0.5628, allocations: 167.9 kB / 0.781 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003037/0.5658, allocations: 1.873 MB / 0.7828 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.5659, allocations: 0 / 0.7828 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/0.5661, allocations: 83.97 kB / 0.7829 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.342e-05/0.5661, allocations: 40 kB / 0.7829 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003147/0.5692, allocations: 2.034 MB / 0.7849 GB, free: 0.8516 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.008114/0.5774, allocations: 6.075 MB / 0.7908 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002813/0.5802, allocations: 2.007 MB / 0.7928 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.5813, allocations: 0.7303 MB / 0.7935 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005488/0.5819, allocations: 429.7 kB / 0.7939 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001754/0.5836, allocations: 0.927 MB / 0.7948 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 3.987e-06/0.5837, allocations: 4 kB / 0.7948 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.006012/0.5897, allocations: 2.836 MB / 0.7976 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.833e-05/0.5898, allocations: 201.2 kB / 0.7978 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003968/0.5938, allocations: 4.011 MB / 0.8017 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001334/0.5939, allocations: 53.7 kB / 0.8018 GB, free: 15 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006624/0.5946, allocations: 0.8667 MB / 0.8026 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003402/0.5949, allocations: 457.3 kB / 0.803 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003375/0.5953, allocations: 226.8 kB / 0.8033 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.5954, allocations: 353.9 kB / 0.8036 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009365/0.5963, allocations: 0.5374 MB / 0.8041 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.5975, allocations: 0.7643 MB / 0.8049 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002353/0.5999, allocations: 1.259 MB / 0.8061 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.5999, allocations: 0 / 0.8061 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003394/0.6033, allocations: 1.682 MB / 0.8077 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.6033, allocations: 8 kB / 0.8077 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.6033, allocations: 3.938 kB / 0.8078 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.6044, allocations: 220.2 kB / 0.808 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.6058, allocations: 307.6 kB / 0.8083 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005626/0.6114, allocations: 7.302 MB / 0.8154 GB, free: 204 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.6127, allocations: 174.2 kB / 0.8156 GB, free: 32 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.6128, allocations: 51.91 kB / 0.8156 GB, free: 15.98 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.000784/0.6136, allocations: 469.2 kB / 0.816 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003057/0.6139, allocations: 189.8 kB / 0.8162 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004017/0.618, allocations: 2.035 MB / 0.8182 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.618, allocations: 12 kB / 0.8182 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.618, allocations: 4 kB / 0.8182 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.618, allocations: 7.969 kB / 0.8182 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006008/0.624, allocations: 3.925 MB / 0.8221 GB, free: 9.238 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.624, allocations: 0 / 0.8221 GB, free: 9.238 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/0.6254, allocations: 307.6 kB / 0.8224 GB, free: 8.938 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000876/0.6263, allocations: 208 kB / 0.8226 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.956e-05/0.6264, allocations: 43.95 kB / 0.8226 GB, free: 8.676 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005458/0.6319, allocations: 7.34 MB / 0.8298 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.6319, allocations: 3.984 kB / 0.8298 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003748/0.6357, allocations: 1.901 MB / 0.8316 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007112/0.6364, allocations: 0.4945 MB / 0.8321 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/0.6366, allocations: 31.89 kB / 0.8321 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.6378, allocations: 119.8 kB / 0.8323 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/0.638, allocations: 101.2 kB / 0.8324 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/0.6381, allocations: 63.95 kB / 0.8324 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002837/0.641, allocations: 3.087 MB / 0.8354 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/0.641, allocations: 0 / 0.8354 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001462/0.6425, allocations: 0.643 MB / 0.8361 GB, free: 10.14 MB / 0.6544 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.005175/0.6476, allocations: 3.102 MB / 0.8391 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004502/0.6522, allocations: 2.379 MB / 0.8414 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.6522, allocations: 4.797 kB / 0.8414 GB, free: 4.766 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001799/0.654, allocations: 1.364 MB / 0.8428 GB, free: 3.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/0.6561, allocations: 0.5213 MB / 0.8433 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2313/0.8874, allocations: 22.6 MB / 0.8653 GB, free: 219.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007054/0.8881, allocations: 1.504 MB / 0.8668 GB, free: 218.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001708/0.8898, allocations: 0.511 MB / 0.8673 GB, free: 218.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008635/0.8907, allocations: 0.8445 MB / 0.8681 GB, free: 218.7 MB / 0.67 GB Notification: Performance of SimCode: time 6.92e-07/0.8907, allocations: 0 / 0.8681 GB, free: 218.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.055/2.946, allocations: 46.03 MB / 0.9131 GB, free: 208.7 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002363/2.946, allocations: 263.7 kB / 0.9133 GB, free: 208.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.21/6.156, allocations: 0 / 0.9133 GB, free: 208.4 MB / 0.67 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)