Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.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.Interfaces.Examples.ConservationEquation,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_ConservationEquation",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.0009165/0.0009166, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.000978/0.0009781, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7661/0.7661, allocations: 132.3 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003479, allocations: 8 kB / 0.5035 GB, free: 4.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4448/0.4452, allocations: 81.57 MB / 0.5832 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.02252/0.4678, allocations: 19.12 MB / 0.6018 GB, free: 6.414 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008151/0.476, allocations: 5.042 MB / 0.6067 GB, free: 2.461 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009235/0.477, allocations: 19.16 kB / 0.6068 GB, free: 2.453 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009423/0.4779, allocations: 253.7 kB / 0.607 GB, free: 2.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003592/0.4815, allocations: 0.7456 MB / 0.6077 GB, free: 1.664 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002731/0.4843, allocations: 0.771 MB / 0.6085 GB, free: 1.141 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00283/0.4871, allocations: 1.942 MB / 0.6104 GB, free: 15.99 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007328/0.4879, allocations: 399.7 kB / 0.6108 GB, free: 15.74 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.4891, allocations: 0.5888 MB / 0.6113 GB, free: 15.43 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007566/0.4899, allocations: 471.3 kB / 0.6118 GB, free: 15.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.579e-05/0.49, allocations: 23.88 kB / 0.6118 GB, free: 15.16 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002213/0.4922, allocations: 0.9545 MB / 0.6127 GB, free: 14.63 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.4924, allocations: 115.6 kB / 0.6129 GB, free: 14.55 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.4926, allocations: 138 kB / 0.613 GB, free: 14.47 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.4938, allocations: 0.8309 MB / 0.6138 GB, free: 13.98 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.4938, allocations: 0 / 0.6138 GB, free: 13.98 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.425e-06/0.4938, allocations: 1.188 kB / 0.6138 GB, free: 13.98 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.4938, allocations: 7.938 kB / 0.6138 GB, free: 13.97 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001751/0.4956, allocations: 0.9208 MB / 0.6147 GB, free: 13.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.4956, allocations: 9.406 kB / 0.6147 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.517e-05/0.4957, allocations: 76.12 kB / 0.6148 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008243/0.4965, allocations: 198.5 kB / 0.615 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009876/0.4975, allocations: 0.5367 MB / 0.6155 GB, free: 12.58 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002846/0.4978, allocations: 96.06 kB / 0.6156 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.758e-05/0.4979, allocations: 41.45 kB / 0.6156 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000949/0.4989, allocations: 0.4953 MB / 0.6161 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.4989, allocations: 5.375 kB / 0.6161 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.603e-05/0.499, allocations: 12.59 kB / 0.6161 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.499, allocations: 13.03 kB / 0.6161 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009533/0.4999, allocations: 427.3 kB / 0.6166 GB, free: 12.02 MB / 462.1 MB 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.002843/0.5028, allocations: 2.311 MB / 0.6188 GB, free: 9.922 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009708/0.5038, allocations: 392.8 kB / 0.6192 GB, free: 9.742 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004778/0.5043, allocations: 237.1 kB / 0.6194 GB, free: 9.633 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002959/0.5046, allocations: 342.9 kB / 0.6197 GB, free: 9.242 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006135/0.5052, allocations: 304.8 kB / 0.62 GB, free: 9.047 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.675e-06/0.5052, allocations: 0 / 0.62 GB, free: 9.047 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.002194/0.5074, allocations: 0.8841 MB / 0.6209 GB, free: 8.559 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.5075, allocations: 81.58 kB / 0.621 GB, free: 8.465 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006337/0.5081, allocations: 498.1 kB / 0.6214 GB, free: 8.168 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.395e-05/0.5082, allocations: 32.89 kB / 0.6215 GB, free: 8.133 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.5084, allocations: 280.5 kB / 0.6217 GB, free: 7.887 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.386e-05/0.5085, allocations: 100.4 kB / 0.6218 GB, free: 7.801 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.5086, allocations: 10.12 kB / 0.6218 GB, free: 7.793 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.5087, allocations: 366.8 kB / 0.6222 GB, free: 7.438 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/0.5092, allocations: 180.8 kB / 0.6224 GB, free: 7.359 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005065/0.5097, allocations: 276.9 kB / 0.6226 GB, free: 7.172 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004734/0.5102, allocations: 218.1 kB / 0.6228 GB, free: 7.059 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5102, allocations: 5 kB / 0.6228 GB, free: 7.055 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00137/0.5116, allocations: 0.6313 MB / 0.6235 GB, free: 6.602 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.5117, allocations: 172.4 kB / 0.6236 GB, free: 6.402 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5117, allocations: 4.031 kB / 0.6236 GB, free: 6.398 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003359/0.5121, allocations: 64.88 kB / 0.6237 GB, free: 6.332 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.5124, allocations: 87.88 kB / 0.6238 GB, free: 6.246 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004703/0.5129, allocations: 0.5952 MB / 0.6244 GB, free: 5.625 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005695/0.5135, allocations: 75.69 kB / 0.6244 GB, free: 5.551 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.5136, allocations: 16 kB / 0.6244 GB, free: 5.535 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.854e-06/0.5136, allocations: 4 kB / 0.6245 GB, free: 5.531 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001158/0.5147, allocations: 0.5702 MB / 0.625 GB, free: 4.953 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.5148, allocations: 4 kB / 0.625 GB, free: 4.949 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001399/0.5149, allocations: 48.98 kB / 0.6251 GB, free: 4.898 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.5152, allocations: 83.88 kB / 0.6251 GB, free: 4.816 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.5168, allocations: 1.627 MB / 0.6267 GB, free: 3.047 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005338/0.5174, allocations: 71.7 kB / 0.6268 GB, free: 2.977 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/0.5174, allocations: 19.98 kB / 0.6268 GB, free: 2.957 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003859/0.5178, allocations: 294.7 kB / 0.6271 GB, free: 2.652 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.685e-05/0.5179, allocations: 59.34 kB / 0.6272 GB, free: 2.594 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.5193, allocations: 0.6685 MB / 0.6278 GB, free: 1.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.5193, allocations: 8.031 kB / 0.6278 GB, free: 1.902 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5193, allocations: 7.984 kB / 0.6278 GB, free: 1.895 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001328/0.5207, allocations: 0.8187 MB / 0.6286 GB, free: 1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/0.5231, allocations: 1.323 MB / 0.6299 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.5231, allocations: 0 / 0.6299 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003408/0.5235, allocations: 64.05 kB / 0.63 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001419/0.5236, allocations: 56.75 kB / 0.63 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.5237, allocations: 8 kB / 0.63 GB, free: 15.47 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004058/0.5241, allocations: 0.5797 MB / 0.6306 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5241, allocations: 0 / 0.6306 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.5259, allocations: 0.9959 MB / 0.6316 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003189/0.5263, allocations: 184.3 kB / 0.6317 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.968e-05/0.5264, allocations: 23.94 kB / 0.6318 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005003/0.5269, allocations: 60.02 kB / 0.6318 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.5269, allocations: 23.91 kB / 0.6319 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.527, allocations: 23.98 kB / 0.6319 GB, free: 13.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004735/0.5275, allocations: 338.8 kB / 0.6322 GB, free: 13.18 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5275, allocations: 0 / 0.6322 GB, free: 13.18 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001389/0.5289, allocations: 343.4 kB / 0.6325 GB, free: 12.84 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002781/0.5317, allocations: 1.7 MB / 0.6342 GB, free: 11.11 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002045/0.5337, allocations: 0.995 MB / 0.6352 GB, free: 10.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.5338, allocations: 0 / 0.6352 GB, free: 10.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006073/0.5344, allocations: 328.4 kB / 0.6355 GB, free: 9.742 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.5357, allocations: 255 kB / 0.6357 GB, free: 9.504 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006221/0.542, allocations: 3.478 MB / 0.6391 GB, free: 5.941 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/0.5425, allocations: 0.8861 MB / 0.64 GB, free: 5.027 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006059/0.5431, allocations: 127.8 kB / 0.6401 GB, free: 4.906 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/0.5434, allocations: 199.4 kB / 0.6403 GB, free: 4.711 MB / 478.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5434, allocations: 0 / 0.6403 GB, free: 4.711 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03336/0.5767, allocations: 16 MB / 0.6559 GB, free: 5.066 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/0.577, allocations: 254.2 kB / 0.6562 GB, free: 4.738 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.175/2.752, allocations: 0 / 0.6562 GB, free: 4.738 MB / 494.1 MB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_ConservationEquation.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) Environment - environmentSimulation: