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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8242/0.8242, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.021/2.021, allocations: 221.3 MB / 400.4 MB, free: 5.828 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 99.81 kB / 483.3 MB, free: 5.863 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.525e-05/4.554e-05, allocations: 2.719 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.16, allocations: 82.31 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.337/1.497, allocations: 403.2 MB / 1.034 GB, free: 191.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/1.497, allocations: 89.39 kB / 1.034 GB, free: 191.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.795/7.292, allocations: 1.469 GB / 2.503 GB, free: 42.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.994e-06/7.292, allocations: 0 / 2.503 GB, free: 42.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0009463/7.293, allocations: 108.3 kB / 2.503 GB, free: 42.48 MB / 0.7292 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.0138/7.306, allocations: 3.712 MB / 2.507 GB, free: 40.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.685e-05/7.307, allocations: 10.75 kB / 2.507 GB, free: 40.57 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00152/7.308, allocations: 291.5 kB / 2.507 GB, free: 40.52 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007496/7.316, allocations: 1.123 MB / 2.508 GB, free: 40.23 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06652/7.382, allocations: 28.88 MB / 2.536 GB, free: 37.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003518/7.383, allocations: 184.4 kB / 2.536 GB, free: 37.19 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001477/7.384, allocations: 246.1 kB / 2.537 GB, free: 37.11 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009323/7.393, allocations: 2.562 MB / 2.539 GB, free: 35.89 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.954e-05/7.394, allocations: 7.875 kB / 2.539 GB, free: 35.89 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006827/7.394, allocations: 90.27 kB / 2.539 GB, free: 35.82 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.313e-05/7.394, allocations: 49.84 kB / 2.539 GB, free: 35.82 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004335/7.399, allocations: 1.766 MB / 2.541 GB, free: 35.16 MB / 0.7292 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.02121/7.42, allocations: 12.31 MB / 2.553 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002133/7.422, allocations: 1.436 MB / 2.554 GB, free: 25.89 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009031/7.423, allocations: 0.6477 MB / 2.555 GB, free: 25.63 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007792/7.431, allocations: 4.174 MB / 2.559 GB, free: 22.05 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/7.431, allocations: 47.56 kB / 2.559 GB, free: 21.99 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002086/7.433, allocations: 226.2 kB / 2.559 GB, free: 21.77 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=119): time 5.621e-06/7.433, allocations: 0 / 2.559 GB, free: 21.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=119): time 0.0044/7.437, allocations: 1.967 MB / 2.561 GB, free: 19.77 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/7.437, allocations: 72.3 kB / 2.561 GB, free: 19.69 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004424/7.442, allocations: 2.953 MB / 2.564 GB, free: 16.72 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003433/7.442, allocations: 61.7 kB / 2.564 GB, free: 16.66 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.00118/7.443, allocations: 1.783 MB / 2.566 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003702/7.444, allocations: 406.1 kB / 2.566 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/7.444, allocations: 43.38 kB / 2.566 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001098/7.444, allocations: 377.9 kB / 2.567 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009931/7.445, allocations: 0.6561 MB / 2.567 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/7.446, allocations: 1.46 MB / 2.569 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/7.448, allocations: 0.8388 MB / 2.57 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/7.448, allocations: 7.938 kB / 2.57 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.004466/7.452, allocations: 2.686 MB / 2.572 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001727/7.454, allocations: 8.159 MB / 2.58 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.274e-05/7.454, allocations: 19.98 kB / 2.58 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001916/7.456, allocations: 0.6398 MB / 2.581 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/7.457, allocations: 391.4 kB / 2.581 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004211/7.462, allocations: 5.113 MB / 2.586 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003956/7.466, allocations: 227.8 kB / 2.587 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004351/7.466, allocations: 171.9 kB / 2.587 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/7.466, allocations: 4.938 kB / 2.587 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006182/7.472, allocations: 2.748 MB / 2.589 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-05/7.472, allocations: 16 kB / 2.589 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003048/7.475, allocations: 1.056 MB / 2.59 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/7.477, allocations: 367.4 kB / 2.591 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6239/8.101, allocations: 14.01 MB / 2.604 GB, free: 51.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003801/8.105, allocations: 223.1 kB / 2.605 GB, free: 51.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000496/8.105, allocations: 152.5 kB / 2.605 GB, free: 51.61 MB / 0.7448 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 179 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000645/8.106, allocations: 216.8 kB / 2.605 GB, free: 51.5 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009579/8.107, allocations: 369.8 kB / 2.605 GB, free: 51.5 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009798/8.117, allocations: 2.84 MB / 2.608 GB, free: 51.33 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.712e-05/8.117, allocations: 19.11 kB / 2.608 GB, free: 51.33 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/8.117, allocations: 3.719 kB / 2.608 GB, free: 51.33 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.717e-05/8.117, allocations: 7.797 kB / 2.608 GB, free: 51.33 MB / 0.7448 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 postOpt removeSimpleEquations (simulation): time 0.01615/8.133, allocations: 4.953 MB / 2.613 GB, free: 50.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/8.133, allocations: 6.016 kB / 2.613 GB, free: 50.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/8.134, allocations: 215.4 kB / 2.613 GB, free: 50.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001881/8.136, allocations: 0.6269 MB / 2.614 GB, free: 50.76 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002125/8.136, allocations: 50.94 kB / 2.614 GB, free: 50.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003153/8.14, allocations: 4.979 MB / 2.619 GB, free: 46.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/8.14, allocations: 6.875 kB / 2.619 GB, free: 46.6 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007309/8.147, allocations: 2.566 MB / 2.621 GB, free: 45.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003224/8.15, allocations: 0.6206 MB / 2.622 GB, free: 45.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001539/8.152, allocations: 22.44 kB / 2.622 GB, free: 45.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00361/8.155, allocations: 208.8 kB / 2.622 GB, free: 45.63 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003442/8.156, allocations: 100.1 kB / 2.622 GB, free: 45.63 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003773/8.156, allocations: 82.31 kB / 2.622 GB, free: 45.63 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.007373/8.164, allocations: 2.252 MB / 2.624 GB, free: 45.43 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.21e-07/8.164, allocations: 0 / 2.624 GB, free: 45.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01228/8.176, allocations: 2.032 MB / 2.626 GB, free: 45.35 MB / 0.7448 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 87 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0126/8.188, allocations: 5.365 MB / 2.632 GB, free: 43.6 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.007805/8.196, allocations: 3.8 MB / 2.635 GB, free: 43.1 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/8.196, allocations: 3.906 kB / 2.635 GB, free: 43.1 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001901/8.198, allocations: 0.8483 MB / 2.636 GB, free: 43.08 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009675/8.208, allocations: 1.686 MB / 2.638 GB, free: 43.06 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/8.225, allocations: 5.495 MB / 2.643 GB, free: 41.74 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003253/8.229, allocations: 2.344 MB / 2.646 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.007624/8.236, allocations: 1.288 MB / 2.647 GB, free: 40.94 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002549/8.239, allocations: 1.577 MB / 2.648 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of SimCode: time 1.603e-06/8.239, allocations: 0 / 2.648 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2371/8.476, allocations: 139.7 MB / 2.785 GB, free: 33.28 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/8.476, allocations: 221.1 kB / 2.785 GB, free: 33.05 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.366/15.84, allocations: 4 kB / 2.785 GB, free: 33.05 MB / 0.7448 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)