Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.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.Movers.Examples.PumpExample,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpExample,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample",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.001761/0.001761, allocations: 99.86 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.002511/0.002511, 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.445/2.445, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.471/1.471, allocations: 135.2 MB / 426.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004793, allocations: 12 kB / 0.5069 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2317, allocations: 82.3 MB / 0.5873 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.5025/0.7343, allocations: 25.65 MB / 0.6123 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02028/0.7547, allocations: 8.95 MB / 0.6211 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00232/0.757, allocations: 36.44 kB / 0.6211 GB, free: 34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003185/0.7602, allocations: 0.5498 MB / 0.6216 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007353/0.7676, allocations: 1.335 MB / 0.6229 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007384/0.7751, allocations: 1.354 MB / 0.6243 GB, free: 32.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006433/0.7815, allocations: 1.706 MB / 0.6259 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002085/0.7837, allocations: 0.74 MB / 0.6266 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003455/0.7872, allocations: 0.7983 MB / 0.6274 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.7888, allocations: 0.5377 MB / 0.6279 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003282/0.7892, allocations: 44.47 kB / 0.628 GB, free: 31.6 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003136/0.7923, allocations: 0.5564 MB / 0.6285 GB, free: 31.49 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006607/0.793, allocations: 255.8 kB / 0.6288 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007372/0.7938, allocations: 250.4 kB / 0.629 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003711/0.7975, allocations: 1.416 MB / 0.6304 GB, free: 30.97 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7976, allocations: 0 / 0.6304 GB, free: 30.97 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.727e-06/0.7976, allocations: 0 / 0.6304 GB, free: 30.97 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.549e-05/0.7977, allocations: 0 / 0.6304 GB, free: 30.97 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.005043/0.8027, allocations: 1.349 MB / 0.6317 GB, free: 30.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/0.8028, allocations: 8.219 kB / 0.6317 GB, free: 30.06 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003401/0.8032, allocations: 109.7 kB / 0.6318 GB, free: 29.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/0.8052, allocations: 213.3 kB / 0.632 GB, free: 29.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003737/0.809, allocations: 0.9842 MB / 0.633 GB, free: 29.35 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.8091, allocations: 61.72 kB / 0.6331 GB, free: 29.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003046/0.8095, allocations: 70.72 kB / 0.6331 GB, free: 29.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/0.8123, allocations: 0.7361 MB / 0.6338 GB, free: 28.97 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/0.8123, allocations: 0 / 0.6338 GB, free: 28.97 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.8125, allocations: 29.67 kB / 0.6339 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.725e-05/0.8126, allocations: 24.38 kB / 0.6339 GB, free: 28.94 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/0.8151, allocations: 0.5778 MB / 0.6345 GB, free: 28.75 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.007737/0.8229, allocations: 3.217 MB / 0.6376 GB, free: 26.56 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/0.8249, allocations: 471.5 kB / 0.638 GB, free: 26.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0033/0.8282, allocations: 1.627 MB / 0.6396 GB, free: 25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007992/0.8291, allocations: 261.3 kB / 0.6399 GB, free: 24.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005706/0.8297, allocations: 62.02 kB / 0.6399 GB, free: 24.85 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 4.408e-06/0.8297, allocations: 0 / 0.6399 GB, free: 24.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.00232/0.832, allocations: 0.6243 MB / 0.6406 GB, free: 24.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.8321, allocations: 54.09 kB / 0.6406 GB, free: 24.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/0.8339, allocations: 0.9473 MB / 0.6415 GB, free: 24.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.351e-05/0.834, allocations: 36.64 kB / 0.6416 GB, free: 24.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004346/0.8345, allocations: 0.494 MB / 0.642 GB, free: 23.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.8347, allocations: 137.5 kB / 0.6422 GB, free: 23.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.107e-05/0.8348, allocations: 15.12 kB / 0.6422 GB, free: 23.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.8349, allocations: 327.2 kB / 0.6425 GB, free: 23.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008023/0.8357, allocations: 194.7 kB / 0.6427 GB, free: 23.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008812/0.8366, allocations: 429.5 kB / 0.6431 GB, free: 22.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009061/0.8375, allocations: 253 kB / 0.6433 GB, free: 22.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.548e-05/0.8375, allocations: 2.906 kB / 0.6433 GB, free: 22.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002774/0.8403, allocations: 0.7134 MB / 0.644 GB, free: 22.49 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.001129/0.8415, allocations: 2.355 MB / 0.6463 GB, free: 19.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-05/0.8416, allocations: 6.188 kB / 0.6463 GB, free: 19.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.153e-05/0.8417, allocations: 16.33 kB / 0.6464 GB, free: 19.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.8427, allocations: 155.1 kB / 0.6465 GB, free: 19.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.695e-05/0.8428, allocations: 15.28 kB / 0.6465 GB, free: 19.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/0.8446, allocations: 61.45 kB / 0.6466 GB, free: 19.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.8448, allocations: 35.03 kB / 0.6466 GB, free: 19.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.8448, allocations: 2.625 kB / 0.6466 GB, free: 19.93 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001693/0.8465, allocations: 0.5452 MB / 0.6472 GB, free: 19.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/0.8466, allocations: 12.03 kB / 0.6472 GB, free: 19.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.8466, allocations: 10.5 kB / 0.6472 GB, free: 19.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008777/0.8475, allocations: 136.5 kB / 0.6473 GB, free: 19.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.916e-05/0.8475, allocations: 16.39 kB / 0.6473 GB, free: 19.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.8489, allocations: 61.3 kB / 0.6474 GB, free: 19.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.8491, allocations: 30.22 kB / 0.6474 GB, free: 19.68 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009228/0.85, allocations: 370.5 kB / 0.6478 GB, free: 19.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003568/0.8504, allocations: 96.91 kB / 0.6479 GB, free: 19.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002563/0.853, allocations: 0.6549 MB / 0.6485 GB, free: 19.08 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/0.853, allocations: 5.438 kB / 0.6485 GB, free: 19.08 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.853, allocations: 2.5 kB / 0.6485 GB, free: 19.08 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001633/0.8547, allocations: 0.694 MB / 0.6492 GB, free: 18.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004267/0.859, allocations: 1.552 MB / 0.6507 GB, free: 17.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.859, allocations: 0 / 0.6507 GB, free: 17.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008935/0.8599, allocations: 91.3 kB / 0.6508 GB, free: 17.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.558e-05/0.86, allocations: 6.891 kB / 0.6508 GB, free: 17.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.819e-05/0.8601, allocations: 17.19 kB / 0.6508 GB, free: 17.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.475e-05/0.8601, allocations: 6.469 kB / 0.6508 GB, free: 17.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/0.8601, allocations: 8.844 kB / 0.6508 GB, free: 17.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003803/0.8639, allocations: 0.9756 MB / 0.6518 GB, free: 17.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009481/0.8649, allocations: 242.9 kB / 0.652 GB, free: 17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004071/0.8654, allocations: 7.25 kB / 0.652 GB, free: 16.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/0.8669, allocations: 54.91 kB / 0.6521 GB, free: 16.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.8671, allocations: 38.09 kB / 0.6521 GB, free: 16.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.8672, allocations: 19.75 kB / 0.6521 GB, free: 16.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002141/0.8694, allocations: 0.6547 MB / 0.6528 GB, free: 16.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.092e-06/0.8694, allocations: 0 / 0.6528 GB, free: 16.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003907/0.8733, allocations: 0.5422 MB / 0.6533 GB, free: 16.56 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005938/0.8793, allocations: 2.055 MB / 0.6553 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00371/0.8831, allocations: 0.7966 MB / 0.6561 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/0.8831, allocations: 1.625 kB / 0.6561 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.8843, allocations: 247.4 kB / 0.6563 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004936/0.8893, allocations: 486.1 kB / 0.6568 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.9004, allocations: 6.78 MB / 0.6634 GB, free: 24.92 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001841/0.9023, allocations: 1.104 MB / 0.6645 GB, free: 24.17 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00294/0.9053, allocations: 252.2 kB / 0.6647 GB, free: 24.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001337/0.9067, allocations: 412.2 kB / 0.6651 GB, free: 23.8 MB / 0.5137 GB Notification: Performance of SimCode: time 1.763e-06/0.9067, allocations: 0 / 0.6651 GB, free: 23.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08863/0.9954, allocations: 28.7 MB / 0.6931 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002799/0.9957, allocations: 201.1 kB / 0.6933 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.473/5.469, allocations: 0 / 0.6933 GB, free: 14.26 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1) Environment - environmentSimulation: