Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.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.Examples.ResistanceVolumeFlowReversal,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_ResistanceVolumeFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_ResistanceVolumeFlowReversal",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.002669/0.002668, 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 1.362/1.362, allocations: 133.6 MB / 141.6 MB, free: 2.93 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.352/2.352, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.001204/0.001204, allocations: 101.3 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.41e-05/2.376e-05, allocations: 0 / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7109/0.7109, allocations: 82.31 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.062/1.773, allocations: 379.6 MB / 1.005 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/1.773, allocations: 86.84 kB / 1.005 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 10.8/12.57, allocations: 1.47 GB / 2.474 GB, free: 90.41 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.266e-06/12.57, allocations: 2.062 kB / 2.474 GB, free: 90.41 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001515/12.57, allocations: 153.2 kB / 2.474 GB, free: 90.38 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 834 * Number of variables: 834 Notification: Performance of Generate backend data structure: time 0.02534/12.6, allocations: 4.573 MB / 2.479 GB, free: 88.58 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 8.027e-05/12.6, allocations: 12.81 kB / 2.479 GB, free: 88.58 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009093/12.61, allocations: 0.8059 MB / 2.48 GB, free: 88.27 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03319/12.64, allocations: 6.858 MB / 2.486 GB, free: 87.42 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004802/12.64, allocations: 102.2 kB / 2.486 GB, free: 87.42 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002342/12.64, allocations: 209.8 kB / 2.487 GB, free: 87.42 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01585/12.66, allocations: 4.734 MB / 2.491 GB, free: 87.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01883/12.68, allocations: 4.782 MB / 2.496 GB, free: 86.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/12.68, allocations: 13.67 kB / 2.496 GB, free: 86.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007861/12.68, allocations: 17.3 kB / 2.496 GB, free: 86.73 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001752/12.68, allocations: 114.4 kB / 2.496 GB, free: 86.72 MB / 0.7136 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.05799/12.74, allocations: 22.15 MB / 2.518 GB, free: 76.88 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004441/12.74, allocations: 2.509 MB / 2.52 GB, free: 76.84 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002596/12.75, allocations: 1.758 MB / 2.522 GB, free: 76.82 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01643/12.76, allocations: 7.025 MB / 2.529 GB, free: 74.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002726/12.77, allocations: 1.737 MB / 2.53 GB, free: 74.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008238/12.77, allocations: 1.974 MB / 2.532 GB, free: 74.38 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=158): time 8.335e-06/12.77, allocations: 0 / 2.532 GB, free: 74.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=158): time 0.01348/12.79, allocations: 4.702 MB / 2.537 GB, free: 74.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/12.79, allocations: 73.64 kB / 2.537 GB, free: 73.99 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009399/12.8, allocations: 3.999 MB / 2.541 GB, free: 73.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0009461/12.8, allocations: 30.55 kB / 2.541 GB, free: 73.63 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.003333/12.8, allocations: 2.44 MB / 2.543 GB, free: 72.78 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001578/12.8, allocations: 0.544 MB / 2.544 GB, free: 72.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/12.8, allocations: 2.562 kB / 2.544 GB, free: 72.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002148/12.8, allocations: 409.2 kB / 2.544 GB, free: 72.13 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002337/12.81, allocations: 1.443 MB / 2.546 GB, free: 72.12 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003328/12.81, allocations: 2.692 MB / 2.548 GB, free: 70.58 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007496/12.82, allocations: 2.494 MB / 2.551 GB, free: 70.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.27e-05/12.82, allocations: 9.156 kB / 2.551 GB, free: 70.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.04172/12.86, allocations: 8.878 MB / 2.559 GB, free: 70.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.007773/12.87, allocations: 15.05 MB / 2.574 GB, free: 54.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001859/12.87, allocations: 31.84 kB / 2.574 GB, free: 54.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0353/12.9, allocations: 6.21 MB / 2.58 GB, free: 54.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003444/12.9, allocations: 0.6576 MB / 2.581 GB, free: 54.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/12.92, allocations: 5.52 MB / 2.586 GB, free: 52.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00782/12.92, allocations: 302.5 kB / 2.587 GB, free: 52.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001069/12.93, allocations: 157.8 kB / 2.587 GB, free: 52.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/12.93, allocations: 3.75 kB / 2.587 GB, free: 52.44 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03946/12.97, allocations: 8.182 MB / 2.595 GB, free: 51.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001929/12.97, allocations: 32.31 kB / 2.595 GB, free: 51.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03486/13, allocations: 6.164 MB / 2.601 GB, free: 51.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00348/13, allocations: 0.6365 MB / 2.601 GB, free: 50.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01665/13.02, allocations: 8.223 MB / 2.609 GB, free: 43.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00816/13.03, allocations: 289.8 kB / 2.61 GB, free: 43.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001195/13.03, allocations: 147.9 kB / 2.61 GB, free: 43.37 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 280 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.00154/13.03, allocations: 210.5 kB / 2.61 GB, free: 43.16 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01328/13.05, allocations: 4.522 MB / 2.614 GB, free: 38.65 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002765/13.05, allocations: 434.6 kB / 2.615 GB, free: 38.22 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03245/13.08, allocations: 7.212 MB / 2.622 GB, free: 31.05 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001051/13.08, allocations: 19.98 kB / 2.622 GB, free: 31.03 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/13.08, allocations: 0 / 2.622 GB, free: 31.03 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01827/13.1, allocations: 6.571 MB / 2.628 GB, free: 24.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03559/13.13, allocations: 12.61 MB / 2.641 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.078e-05/13.13, allocations: 3.938 kB / 2.641 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002758/13.14, allocations: 367.6 kB / 2.641 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004815/13.14, allocations: 2.441 MB / 2.643 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005531/13.14, allocations: 30.5 kB / 2.643 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009833/13.15, allocations: 4.81 MB / 2.648 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.524e-05/13.15, allocations: 0 / 2.648 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02913/13.18, allocations: 9.586 MB / 2.657 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006695/13.19, allocations: 1.076 MB / 2.659 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003013/13.19, allocations: 11.25 kB / 2.659 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007015/13.2, allocations: 267.1 kB / 2.659 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006472/13.2, allocations: 109.1 kB / 2.659 GB, free: 8.777 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006915/13.2, allocations: 79.92 kB / 2.659 GB, free: 8.699 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.01102/13.21, allocations: 3.018 MB / 2.662 GB, free: 5.691 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.71e-07/13.21, allocations: 0 / 2.662 GB, free: 5.691 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.02199/13.23, allocations: 2.701 MB / 2.665 GB, free: 2.984 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (pump.vol.dynBal.U,hea.outCon.T,val.filter.s[1],val.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {10 3,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.9655/14.2, allocations: 11.15 MB / 2.675 GB, free: 112.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.02306/14.22, allocations: 7.033 MB / 2.682 GB, free: 111.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-05/14.22, allocations: 1.594 kB / 2.682 GB, free: 111.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00721/14.23, allocations: 2.381 MB / 2.685 GB, free: 111.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01797/14.25, allocations: 2.383 MB / 2.687 GB, free: 111.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0383/14.29, allocations: 8.847 MB / 2.696 GB, free: 110 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004169/14.29, allocations: 3.33 MB / 2.699 GB, free: 109.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.01642/14.31, allocations: 2.828 MB / 2.702 GB, free: 109.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006325/14.31, allocations: 1.907 MB / 2.703 GB, free: 109.2 MB / 0.7292 GB Notification: Performance of SimCode: time 2.845e-06/14.31, allocations: 0 / 2.703 GB, free: 109.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3273/14.64, allocations: 144.7 MB / 2.845 GB, free: 69.01 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002824/14.64, allocations: 157.3 kB / 2.845 GB, free: 68.82 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/27.13, allocations: 3.938 kB / 2.845 GB, free: 68.82 MB / 0.7292 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_ResistanceVolumeFlowReversal_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_ResistanceVolumeFlowReversal.fmu > IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)