Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Interfaces.Examples.ConservationEquation,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="IDEAS_dev_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.001403/0.001403, allocations: 99.78 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.001823/0.001823, allocations: 177.3 kB / 15.95 MB, free: 216 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.599/2.599, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.796/1.796, allocations: 135.2 MB / 426.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005509/0.0005513, allocations: 8.5 kB / 0.5069 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2682, allocations: 82.31 MB / 0.5873 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.03272/0.301, allocations: 17.48 MB / 0.6044 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6197/0.9208, allocations: 4.646 MB / 0.6089 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.9222, allocations: 18.94 kB / 0.6089 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.9236, allocations: 298.3 kB / 0.6092 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003772/0.9274, allocations: 0.8114 MB / 0.61 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00359/0.931, allocations: 0.8993 MB / 0.6109 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002976/0.934, allocations: 1.044 MB / 0.6119 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.935, allocations: 409 kB / 0.6123 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.9366, allocations: 0.5293 MB / 0.6128 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005977/0.9372, allocations: 329.4 kB / 0.6131 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.027e-05/0.9373, allocations: 28.41 kB / 0.6131 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002356/0.9396, allocations: 0.8335 MB / 0.6139 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.9398, allocations: 113.8 kB / 0.6141 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.9401, allocations: 135.5 kB / 0.6142 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.9414, allocations: 0.7856 MB / 0.615 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.9414, allocations: 0 / 0.615 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.464e-06/0.9414, allocations: 0 / 0.615 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.9414, allocations: 0 / 0.615 GB, free: 34.23 MB / 0.4981 GB 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.001647/0.9431, allocations: 0.9135 MB / 0.6158 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.9431, allocations: 11.97 kB / 0.6159 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.615e-05/0.9432, allocations: 74.33 kB / 0.6159 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008915/0.9441, allocations: 201.2 kB / 0.6161 GB, free: 33.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.9456, allocations: 0.5041 MB / 0.6166 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006238/0.9463, allocations: 102.7 kB / 0.6167 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.9464, allocations: 38.34 kB / 0.6167 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.9482, allocations: 0.4977 MB / 0.6172 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.9483, allocations: 0 / 0.6172 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.38e-05/0.9484, allocations: 17.91 kB / 0.6172 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.373e-05/0.9484, allocations: 8.344 kB / 0.6173 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.9501, allocations: 437.3 kB / 0.6177 GB, free: 33.14 MB / 0.4981 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.005044/0.9552, allocations: 2.294 MB / 0.6199 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.9572, allocations: 398.9 kB / 0.6203 GB, free: 31.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000424/0.9576, allocations: 342.1 kB / 0.6206 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.9587, allocations: 313.2 kB / 0.6209 GB, free: 31.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 4.298e-06/0.9587, allocations: 0 / 0.6209 GB, free: 31.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.004185/0.9629, allocations: 0.968 MB / 0.6219 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.963, allocations: 86.3 kB / 0.6219 GB, free: 30.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009526/0.964, allocations: 0.4952 MB / 0.6224 GB, free: 30.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.823e-05/0.964, allocations: 30.64 kB / 0.6225 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.9644, allocations: 276.7 kB / 0.6227 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.9646, allocations: 112.2 kB / 0.6228 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.9646, allocations: 5.75 kB / 0.6228 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.9648, allocations: 371.4 kB / 0.6232 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007182/0.9655, allocations: 176 kB / 0.6234 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008563/0.9664, allocations: 270.4 kB / 0.6236 GB, free: 30.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008523/0.9673, allocations: 224.5 kB / 0.6238 GB, free: 29.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.9673, allocations: 6.688 kB / 0.6238 GB, free: 29.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002641/0.97, allocations: 0.6212 MB / 0.6244 GB, free: 29.85 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002601/0.9702, allocations: 0.6532 MB / 0.6251 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.9703, allocations: 0 / 0.6251 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005789/0.9709, allocations: 69.64 kB / 0.6251 GB, free: 29.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000663/0.9715, allocations: 82.77 kB / 0.6252 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006003/0.9722, allocations: 0.6032 MB / 0.6258 GB, free: 28.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.9733, allocations: 75.06 kB / 0.6259 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.187e-05/0.9734, allocations: 18.64 kB / 0.6259 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.9734, allocations: 8.797 kB / 0.6259 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00216/0.9756, allocations: 0.5519 MB / 0.6265 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.9756, allocations: 3.234 kB / 0.6265 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002465/0.9759, allocations: 47.58 kB / 0.6265 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006517/0.9766, allocations: 86.97 kB / 0.6266 GB, free: 28.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/0.9787, allocations: 1.633 MB / 0.6282 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.9799, allocations: 85.12 kB / 0.6283 GB, free: 27.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/0.98, allocations: 18.09 kB / 0.6283 GB, free: 27.09 MB / 0.4981 GB 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.0006838/0.9807, allocations: 295.8 kB / 0.6286 GB, free: 26.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.9809, allocations: 62.08 kB / 0.6286 GB, free: 26.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002704/0.9836, allocations: 0.66 MB / 0.6293 GB, free: 26.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/0.9836, allocations: 3.188 kB / 0.6293 GB, free: 26.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.9836, allocations: 0 / 0.6293 GB, free: 26.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002266/0.9859, allocations: 0.8293 MB / 0.6301 GB, free: 26.31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004163/0.9901, allocations: 1.319 MB / 0.6314 GB, free: 25.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.9901, allocations: 3.031 kB / 0.6314 GB, free: 25.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00061/0.9908, allocations: 69.98 kB / 0.6314 GB, free: 25.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002324/0.991, allocations: 44.97 kB / 0.6315 GB, free: 25.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.204e-05/0.9911, allocations: 16.23 kB / 0.6315 GB, free: 25.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004627/0.9916, allocations: 0.5753 MB / 0.6321 GB, free: 25.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.9916, allocations: 0 / 0.6321 GB, free: 25.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003467/0.9951, allocations: 1.032 MB / 0.6331 GB, free: 25.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006254/0.9957, allocations: 193.1 kB / 0.6332 GB, free: 24.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/0.996, allocations: 13.06 kB / 0.6333 GB, free: 24.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.9973, allocations: 73.5 kB / 0.6333 GB, free: 24.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.9975, allocations: 21.72 kB / 0.6333 GB, free: 24.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.9976, allocations: 22.61 kB / 0.6334 GB, free: 24.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001054/0.9987, allocations: 348.2 kB / 0.6337 GB, free: 24.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.31e-07/0.9987, allocations: 0 / 0.6337 GB, free: 24.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002741/1.001, allocations: 352.8 kB / 0.634 GB, free: 24.77 MB / 0.4981 GB 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.00506/1.007, allocations: 1.96 MB / 0.636 GB, free: 23.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003839/1.01, allocations: 0.9861 MB / 0.6369 GB, free: 23.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/1.01, allocations: 0 / 0.6369 GB, free: 23.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/1.012, allocations: 341.5 kB / 0.6372 GB, free: 23.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002498/1.014, allocations: 240 kB / 0.6375 GB, free: 23.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/1.024, allocations: 4.412 MB / 0.6418 GB, free: 21.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/1.025, allocations: 0.8955 MB / 0.6427 GB, free: 20.58 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001062/1.026, allocations: 125.3 kB / 0.6428 GB, free: 20.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004065/1.027, allocations: 194.7 kB / 0.643 GB, free: 20.55 MB / 0.4981 GB Notification: Performance of SimCode: time 2.504e-06/1.027, allocations: 0 / 0.643 GB, free: 20.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1048/1.131, allocations: 16.27 MB / 0.6588 GB, free: 19.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003758/1.132, allocations: 257.9 kB / 0.6591 GB, free: 18.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.801/4.933, allocations: 0 / 0.6591 GB, free: 18.89 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ConservationEquation.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) Environment - environmentSimulation: