Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",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.001281/0.001281, 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.00161/0.00161, allocations: 177.3 kB / 15.94 MB, free: 228 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.476/2.476, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.273/1.273, allocations: 132.3 MB / 423.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005211/0.0005212, allocations: 8.719 kB / 0.5033 GB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7584/0.7589, allocations: 81.57 MB / 0.583 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1507/0.9097, allocations: 87.95 MB / 0.6689 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.07252/0.9823, allocations: 28.66 MB / 0.6968 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01008/0.9925, allocations: 131.1 kB / 0.697 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009751/1.002, allocations: 1.632 MB / 0.6986 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.02918/1.032, allocations: 5.141 MB / 0.7036 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01809/1.05, allocations: 3.791 MB / 0.7073 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01957/1.069, allocations: 5.845 MB / 0.713 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009028/1.078, allocations: 2.696 MB / 0.7156 GB, free: 8.508 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01245/1.091, allocations: 2.99 MB / 0.7185 GB, free: 5.508 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006766/1.098, allocations: 2.011 MB / 0.7205 GB, free: 3.488 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002011/1.1, allocations: 164 kB / 0.7207 GB, free: 3.328 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00965/1.109, allocations: 1.748 MB / 0.7224 GB, free: 1.578 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003392/1.113, allocations: 0.9614 MB / 0.7233 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003619/1.117, allocations: 0.8589 MB / 0.7241 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01417/1.131, allocations: 5.458 MB / 0.7295 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/1.131, allocations: 4 kB / 0.7295 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.457e-06/1.131, allocations: 0 / 0.7295 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002693/1.131, allocations: 0 / 0.7295 GB, free: 10.27 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.01887/1.15, allocations: 4.368 MB / 0.7337 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 9.296e-05/1.15, allocations: 12.03 kB / 0.7338 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001852/1.152, allocations: 287.4 kB / 0.734 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/1.162, allocations: 1.271 MB / 0.7353 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01796/1.18, allocations: 4.167 MB / 0.7393 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004532/1.181, allocations: 189.1 kB / 0.7395 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001253/1.182, allocations: 232 kB / 0.7397 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01079/1.193, allocations: 2.677 MB / 0.7424 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.819e-05/1.193, allocations: 3.938 kB / 0.7424 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000501/1.193, allocations: 88 kB / 0.7424 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/1.194, allocations: 52 kB / 0.7425 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009308/1.203, allocations: 1.94 MB / 0.7444 GB, free: 10.7 MB / 0.5762 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.03471/1.238, allocations: 12.34 MB / 0.7564 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006722/1.244, allocations: 1.521 MB / 0.7579 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01446/1.259, allocations: 4.074 MB / 0.7619 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.329e-05/1.259, allocations: 47.56 kB / 0.7619 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003282/1.262, allocations: 206.2 kB / 0.7621 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=111): time 1.045e-05/1.263, allocations: 0 / 0.7621 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of matching and sorting (n=111): time 0.01606/1.279, allocations: 3.053 MB / 0.7651 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.022e-05/1.279, allocations: 64.41 kB / 0.7652 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009021/1.288, allocations: 3.424 MB / 0.7685 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000865/1.289, allocations: 61.7 kB / 0.7686 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002798/1.292, allocations: 1.796 MB / 0.7703 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00103/1.293, allocations: 382.4 kB / 0.7707 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/1.293, allocations: 36 kB / 0.7707 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002627/1.293, allocations: 389.8 kB / 0.7711 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003479/1.297, allocations: 0.8276 MB / 0.7719 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00431/1.301, allocations: 1.534 MB / 0.7734 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004102/1.305, allocations: 0.9822 MB / 0.7744 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-05/1.305, allocations: 4 kB / 0.7744 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.01216/1.317, allocations: 2.885 MB / 0.7772 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.004425/1.322, allocations: 8.145 MB / 0.7852 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.861e-05/1.322, allocations: 20 kB / 0.7852 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002685/1.325, allocations: 407 kB / 0.7856 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003638/1.328, allocations: 447.2 kB / 0.786 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00378/1.332, allocations: 2.748 MB / 0.7887 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006016/1.338, allocations: 211.2 kB / 0.7889 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001027/1.339, allocations: 163.9 kB / 0.789 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/1.339, allocations: 4 kB / 0.789 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01183/1.351, allocations: 3.099 MB / 0.7921 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001194/1.351, allocations: 20 kB / 0.7921 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004803/1.356, allocations: 0.855 MB / 0.7929 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00329/1.36, allocations: 403.4 kB / 0.7933 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03138/1.391, allocations: 12.89 MB / 0.8059 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005275/1.396, allocations: 199.7 kB / 0.8061 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007915/1.397, allocations: 140 kB / 0.8062 GB, free: 8.469 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (207): * Single equations (assignments): 199 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.003658/1.401, allocations: 0.8635 MB / 0.807 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001408/1.402, allocations: 367.2 kB / 0.8074 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01134/1.414, allocations: 2.684 MB / 0.81 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-05/1.414, allocations: 12 kB / 0.81 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.414, allocations: 0 / 0.81 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.687e-05/1.414, allocations: 7.969 kB / 0.81 GB, free: 4.535 MB / 0.6387 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 postOpt removeSimpleEquations (simulation): time 0.6466/2.06, allocations: 5.071 MB / 0.815 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.012e-05/2.06, allocations: 3.875 kB / 0.815 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002473/2.063, allocations: 251.8 kB / 0.8152 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001837/2.065, allocations: 393.7 kB / 0.8156 GB, free: 202.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003359/2.065, allocations: 47.14 kB / 0.8157 GB, free: 202.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002719/2.068, allocations: 2.629 MB / 0.8182 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/2.068, allocations: 1.219 kB / 0.8182 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/2.078, allocations: 2.503 MB / 0.8207 GB, free: 200 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003618/2.082, allocations: 0.6157 MB / 0.8213 GB, free: 199.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001561/2.083, allocations: 27.08 kB / 0.8213 GB, free: 199.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004099/2.087, allocations: 202.6 kB / 0.8215 GB, free: 199.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003807/2.088, allocations: 90.02 kB / 0.8216 GB, free: 199.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003217/2.088, allocations: 73.92 kB / 0.8216 GB, free: 199.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.008094/2.096, allocations: 2.283 MB / 0.8239 GB, free: 199.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.533e-06/2.096, allocations: 0 / 0.8239 GB, free: 199.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.01409/2.11, allocations: 1.844 MB / 0.8257 GB, free: 199 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01179/2.122, allocations: 3.707 MB / 0.8293 GB, free: 197.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01446/2.137, allocations: 4.045 MB / 0.8332 GB, free: 195.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/2.137, allocations: 1.156 kB / 0.8332 GB, free: 195.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003693/2.141, allocations: 0.8804 MB / 0.8341 GB, free: 195.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0143/2.155, allocations: 1.702 MB / 0.8358 GB, free: 195 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03017/2.185, allocations: 21.03 MB / 0.8563 GB, free: 177.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002839/2.188, allocations: 2.324 MB / 0.8586 GB, free: 176.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.007261/2.195, allocations: 0.9017 MB / 0.8595 GB, free: 176.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003713/2.199, allocations: 1.643 MB / 0.8611 GB, free: 175.4 MB / 0.6387 GB Notification: Performance of SimCode: time 4.148e-06/2.199, allocations: 0 / 0.8611 GB, free: 175.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2503/2.449, allocations: 109.5 MB / 0.968 GB, free: 71.89 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002765/2.45, allocations: 245.7 kB / 0.9682 GB, free: 71.56 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/10.43, allocations: 4.062 kB / 0.9682 GB, free: 71.55 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1) Environment - environmentSimulation: