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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.809/0.809, allocations: 133.6 MB / 141.6 MB, free: 2.891 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.715/1.715, allocations: 221.5 MB / 395.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009293/0.0009296, allocations: 100.2 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.737e-05/4.748e-05, allocations: 8 kB / 0.5535 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5104/0.5105, allocations: 82.3 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8531/1.364, allocations: 362.4 MB / 0.9878 GB, free: 6.02 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/1.364, allocations: 86.89 kB / 0.9879 GB, free: 5.977 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.9978/2.362, allocations: 257.4 MB / 1.239 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.905e-06/2.362, allocations: 0 / 1.239 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.515e-05/2.362, allocations: 16 kB / 1.239 GB, free: 100.4 MB / 0.6823 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.001906/2.364, allocations: 0.9215 MB / 1.24 GB, free: 99.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/2.364, allocations: 12.03 kB / 1.24 GB, free: 99.39 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008095/2.365, allocations: 191 kB / 1.24 GB, free: 99.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02232/2.387, allocations: 11.97 MB / 1.252 GB, free: 87.06 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003262/2.387, allocations: 84.7 kB / 1.252 GB, free: 86.97 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.874e-05/2.388, allocations: 27.94 kB / 1.252 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005119/2.388, allocations: 293.5 kB / 1.253 GB, free: 86.66 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005568/2.389, allocations: 408.8 kB / 1.253 GB, free: 86.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/2.389, allocations: 3.938 kB / 1.253 GB, free: 86.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.088e-05/2.389, allocations: 4 kB / 1.253 GB, free: 86.23 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/2.389, allocations: 20.73 kB / 1.253 GB, free: 86.21 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.002541/2.391, allocations: 2.177 MB / 1.255 GB, free: 83.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/2.392, allocations: 262.9 kB / 1.255 GB, free: 83.57 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/2.392, allocations: 181.6 kB / 1.255 GB, free: 83.39 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002484/2.392, allocations: 340.6 kB / 1.256 GB, free: 82.98 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002923/2.392, allocations: 250.8 kB / 1.256 GB, free: 82.72 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 3.426e-06/2.392, allocations: 0 / 1.256 GB, free: 82.72 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001081/2.394, allocations: 485.8 kB / 1.257 GB, free: 82.24 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/2.394, allocations: 81.11 kB / 1.257 GB, free: 82.14 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/2.394, allocations: 377.3 kB / 1.257 GB, free: 81.77 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/2.394, allocations: 25.7 kB / 1.257 GB, free: 81.74 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/2.394, allocations: 280.2 kB / 1.257 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.367e-05/2.394, allocations: 102.5 kB / 1.257 GB, free: 81.36 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.942e-05/2.394, allocations: 0 / 1.257 GB, free: 81.36 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.385e-05/2.394, allocations: 362.8 kB / 1.258 GB, free: 80.99 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/2.395, allocations: 124 kB / 1.258 GB, free: 80.87 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/2.395, allocations: 207.1 kB / 1.258 GB, free: 80.63 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003148/2.395, allocations: 167.8 kB / 1.258 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/2.395, allocations: 0 / 1.258 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007831/2.396, allocations: 0.4977 MB / 1.259 GB, free: 79.96 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001443/2.396, allocations: 0.6529 MB / 1.259 GB, free: 79.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/2.396, allocations: 0 / 1.259 GB, free: 79.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/2.396, allocations: 44.84 kB / 1.259 GB, free: 79.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/2.397, allocations: 91.83 kB / 1.259 GB, free: 79.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003323/2.397, allocations: 0.5953 MB / 1.26 GB, free: 78.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005488/2.397, allocations: 71.69 kB / 1.26 GB, free: 78.42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-05/2.397, allocations: 23.98 kB / 1.26 GB, free: 78.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.832e-06/2.398, allocations: 4 kB / 1.26 GB, free: 78.39 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000718/2.398, allocations: 432.3 kB / 1.261 GB, free: 77.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/2.398, allocations: 4 kB / 1.261 GB, free: 77.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001286/2.398, allocations: 44.83 kB / 1.261 GB, free: 77.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/2.399, allocations: 88.03 kB / 1.261 GB, free: 77.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/2.4, allocations: 1.56 MB / 1.262 GB, free: 76.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004693/2.4, allocations: 71.69 kB / 1.262 GB, free: 76.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/2.4, allocations: 19.98 kB / 1.262 GB, free: 76.05 MB / 0.6823 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 () * 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.0001345/2.4, allocations: 164 kB / 1.262 GB, free: 75.88 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007487/2.401, allocations: 469.5 kB / 1.263 GB, free: 75.41 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.618e-05/2.401, allocations: 59.28 kB / 1.263 GB, free: 75.35 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008554/2.402, allocations: 0.5148 MB / 1.263 GB, free: 74.82 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/2.402, allocations: 4 kB / 1.263 GB, free: 74.81 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/2.402, allocations: 3.953 kB / 1.263 GB, free: 74.81 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000702/2.403, allocations: 0.6843 MB / 1.264 GB, free: 74.05 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/2.404, allocations: 1.119 MB / 1.265 GB, free: 72.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/2.404, allocations: 0 / 1.265 GB, free: 72.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/2.405, allocations: 75.97 kB / 1.265 GB, free: 72.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.114e-05/2.405, allocations: 40.8 kB / 1.265 GB, free: 72.76 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/2.405, allocations: 4.094 kB / 1.265 GB, free: 72.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002359/2.405, allocations: 0.5796 MB / 1.266 GB, free: 72.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/2.405, allocations: 4.031 kB / 1.266 GB, free: 72.15 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/2.406, allocations: 0.8425 MB / 1.267 GB, free: 71.26 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/2.406, allocations: 184.3 kB / 1.267 GB, free: 71.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.732e-05/2.406, allocations: 4 kB / 1.267 GB, free: 71.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005278/2.407, allocations: 63.84 kB / 1.267 GB, free: 70.99 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/2.407, allocations: 23.97 kB / 1.267 GB, free: 70.97 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/2.407, allocations: 19.98 kB / 1.267 GB, free: 70.95 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002428/2.407, allocations: 290.9 kB / 1.267 GB, free: 70.67 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/2.407, allocations: 0 / 1.267 GB, free: 70.67 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001158/2.408, allocations: 367.3 kB / 1.268 GB, free: 70.31 MB / 0.6823 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) * 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.001859/2.41, allocations: 1.863 MB / 1.269 GB, free: 68.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001067/2.411, allocations: 0.8043 MB / 1.27 GB, free: 67.56 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/2.411, allocations: 0 / 1.27 GB, free: 67.56 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00028/2.412, allocations: 269.3 kB / 1.27 GB, free: 67.29 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/2.413, allocations: 227.2 kB / 1.271 GB, free: 67.07 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/2.415, allocations: 0.9218 MB / 1.272 GB, free: 66.11 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/2.415, allocations: 0.8948 MB / 1.272 GB, free: 65.18 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006269/2.416, allocations: 148.2 kB / 1.273 GB, free: 65.04 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/2.416, allocations: 187.4 kB / 1.273 GB, free: 64.85 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/2.416, allocations: 0 / 1.273 GB, free: 64.85 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0464/2.462, allocations: 15.97 MB / 1.288 GB, free: 49 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/2.462, allocations: 169.2 kB / 1.289 GB, free: 48.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.029/5.491, allocations: 3.938 kB / 1.289 GB, free: 48.8 MB / 0.6823 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)