Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_CpData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_dev_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.007585/0.007585, allocations: 102.8 kB / 15.73 MB, free: 6.035 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.001835/0.001835, allocations: 193.5 kB / 16.67 MB, free: 5.973 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9495/0.9495, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 63.91 kB / 0.5851 GB, free: 3.855 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.4367, allocations: 80.91 MB / 0.6641 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.1867/0.6235, allocations: 166.9 MB / 0.8272 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02352/0.647, allocations: 17.1 MB / 0.8439 GB, free: 8.898 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001488/0.6486, allocations: 31.81 kB / 0.8439 GB, free: 8.867 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001828/0.6504, allocations: 0.5314 MB / 0.8444 GB, free: 8.332 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004709/0.6552, allocations: 1.629 MB / 0.846 GB, free: 6.699 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003522/0.6587, allocations: 1.384 MB / 0.8474 GB, free: 5.328 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003636/0.6624, allocations: 2.529 MB / 0.8498 GB, free: 2.789 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002935/0.6653, allocations: 1.955 MB / 0.8517 GB, free: 0.7891 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003989/0.6693, allocations: 1.366 MB / 0.8531 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001573/0.6709, allocations: 1.027 MB / 0.8541 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000546/0.6714, allocations: 212 kB / 0.8543 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003377/0.6748, allocations: 1.54 MB / 0.8558 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001002/0.6758, allocations: 0.7711 MB / 0.8565 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001874/0.6777, allocations: 1.17 MB / 0.8577 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005837/0.6836, allocations: 3.532 MB / 0.8611 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.6836, allocations: 0 / 0.8611 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6836, allocations: 0 / 0.8611 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001322/0.6837, allocations: 0 / 0.8611 GB, free: 7.191 MB / 0.6856 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.006411/0.6902, allocations: 2.778 MB / 0.8638 GB, free: 4.348 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.6902, allocations: 8.031 kB / 0.8638 GB, free: 4.34 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004945/0.6907, allocations: 244.5 kB / 0.8641 GB, free: 4.09 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0038/0.6945, allocations: 0.5551 MB / 0.8646 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004661/0.6992, allocations: 3.389 MB / 0.8679 GB, free: 92 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3718/1.071, allocations: 127.8 kB / 0.8681 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006763/1.072, allocations: 161.5 kB / 0.8682 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003734/1.075, allocations: 1.877 MB / 0.87 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/1.076, allocations: 1.344 kB / 0.87 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/1.076, allocations: 69.62 kB / 0.8701 GB, free: 191.2 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.255e-05/1.076, allocations: 39.84 kB / 0.8701 GB, free: 191.2 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003751/1.08, allocations: 2.038 MB / 0.8721 GB, free: 190.7 MB / 0.6856 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.008636/1.088, allocations: 6.027 MB / 0.878 GB, free: 187.3 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003068/1.091, allocations: 2.005 MB / 0.88 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/1.092, allocations: 0.736 MB / 0.8807 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000462/1.093, allocations: 434.2 kB / 0.8811 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001427/1.094, allocations: 0.9235 MB / 0.882 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=137): time 2.946e-06/1.094, allocations: 0 / 0.882 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=137): time 0.006165/1.1, allocations: 2.835 MB / 0.8848 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/1.101, allocations: 195.9 kB / 0.885 GB, free: 183.1 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0043/1.105, allocations: 4.024 MB / 0.8889 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001513/1.105, allocations: 59.77 kB / 0.889 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006148/1.106, allocations: 0.8627 MB / 0.8898 GB, free: 180.6 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003063/1.106, allocations: 456.3 kB / 0.8902 GB, free: 180.2 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003421/1.106, allocations: 219.5 kB / 0.8904 GB, free: 180.1 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.795e-05/1.106, allocations: 353.3 kB / 0.8908 GB, free: 179.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009544/1.107, allocations: 0.5359 MB / 0.8913 GB, free: 179.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/1.108, allocations: 0.7573 MB / 0.892 GB, free: 179 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002056/1.11, allocations: 1.258 MB / 0.8933 GB, free: 178.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.111, allocations: 2.781 kB / 0.8933 GB, free: 178.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003442/1.114, allocations: 1.697 MB / 0.8949 GB, free: 177.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/1.114, allocations: 4.125 kB / 0.8949 GB, free: 177.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/1.114, allocations: 3.75 kB / 0.8949 GB, free: 177.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/1.115, allocations: 213 kB / 0.8951 GB, free: 177.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/1.116, allocations: 307.2 kB / 0.8954 GB, free: 177.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004389/1.121, allocations: 7.315 MB / 0.9026 GB, free: 170 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/1.122, allocations: 137.8 kB / 0.9027 GB, free: 169.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-05/1.122, allocations: 50.16 kB / 0.9028 GB, free: 169.9 MB / 0.6856 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.001139/1.124, allocations: 477.2 kB / 0.9032 GB, free: 169.6 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005636/1.124, allocations: 181.9 kB / 0.9034 GB, free: 169.5 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004018/1.128, allocations: 2.038 MB / 0.9054 GB, free: 168.4 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/1.128, allocations: 13.5 kB / 0.9054 GB, free: 168.4 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.128, allocations: 2.75 kB / 0.9054 GB, free: 168.4 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/1.128, allocations: 7.969 kB / 0.9054 GB, free: 168.4 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005998/1.134, allocations: 3.93 MB / 0.9092 GB, free: 166 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.134, allocations: 0 / 0.9092 GB, free: 166 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/1.136, allocations: 311.4 kB / 0.9095 GB, free: 165.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007988/1.136, allocations: 206.4 kB / 0.9097 GB, free: 165.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.869e-05/1.136, allocations: 35.38 kB / 0.9098 GB, free: 165.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003951/1.14, allocations: 7.352 MB / 0.9169 GB, free: 158.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.14, allocations: 0 / 0.9169 GB, free: 158.3 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003358/1.144, allocations: 1.906 MB / 0.9188 GB, free: 156.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008586/1.145, allocations: 498.2 kB / 0.9193 GB, free: 156 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000318/1.145, allocations: 24 kB / 0.9193 GB, free: 156 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/1.146, allocations: 99.72 kB / 0.9194 GB, free: 155.9 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001937/1.146, allocations: 101.2 kB / 0.9195 GB, free: 155.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/1.146, allocations: 69.7 kB / 0.9196 GB, free: 155.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002245/1.149, allocations: 3.095 MB / 0.9226 GB, free: 152.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/1.149, allocations: 0 / 0.9226 GB, free: 152.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001459/1.15, allocations: 0.6336 MB / 0.9232 GB, free: 152 MB / 0.6856 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.004919/1.155, allocations: 3.105 MB / 0.9262 GB, free: 149.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002934/1.158, allocations: 1.965 MB / 0.9282 GB, free: 147.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.866e-06/1.158, allocations: 4.562 kB / 0.9282 GB, free: 147.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001548/1.16, allocations: 1.368 MB / 0.9295 GB, free: 145.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/1.162, allocations: 0.5267 MB / 0.93 GB, free: 145.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02231/1.184, allocations: 20.39 MB / 0.9499 GB, free: 124.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007668/1.185, allocations: 1.513 MB / 0.9514 GB, free: 123 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001562/1.187, allocations: 0.5127 MB / 0.9519 GB, free: 122.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000868/1.188, allocations: 0.8429 MB / 0.9527 GB, free: 121.7 MB / 0.6856 GB Notification: Performance of SimCode: time 8.92e-07/1.188, allocations: 0 / 0.9527 GB, free: 121.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07383/1.261, allocations: 47.5 MB / 0.9991 GB, free: 74.62 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/16.32, allocations: 5.75 kB / 0.9991 GB, free: 74.62 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)