Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",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.001868/0.001868, allocations: 99.47 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.00204/0.00204, 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.575/2.575, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.667/1.667, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007179/0.0007181, allocations: 8 kB / 0.5069 GB, free: 5.141 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3317, allocations: 82.31 MB / 0.5873 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.8939/1.226, allocations: 135.7 MB / 0.7198 GB, free: 11.87 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006589/1.232, allocations: 1.673 MB / 0.7214 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000817/1.233, allocations: 15.97 kB / 0.7214 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/1.235, allocations: 180.7 kB / 0.7216 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003318/1.238, allocations: 0.4987 MB / 0.7221 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003021/1.241, allocations: 412.6 kB / 0.7225 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004753/1.246, allocations: 1.507 MB / 0.724 GB, free: 9.352 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006916/1.253, allocations: 2.185 MB / 0.7261 GB, free: 8.586 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003339/1.256, allocations: 0.6932 MB / 0.7268 GB, free: 8.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002061/1.258, allocations: 491.6 kB / 0.7273 GB, free: 8.043 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004714/1.259, allocations: 34.38 kB / 0.7273 GB, free: 8.043 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003464/1.262, allocations: 414.8 kB / 0.7277 GB, free: 7.938 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001109/1.263, allocations: 261.3 kB / 0.7279 GB, free: 7.836 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001351/1.265, allocations: 230.3 kB / 0.7281 GB, free: 7.715 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003767/1.269, allocations: 0.9834 MB / 0.7291 GB, free: 7.492 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.269, allocations: 0 / 0.7291 GB, free: 7.492 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.246e-06/1.269, allocations: 6.906 kB / 0.7291 GB, free: 7.488 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.977e-05/1.269, allocations: 0 / 0.7291 GB, free: 7.488 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.006628/1.275, allocations: 1.313 MB / 0.7304 GB, free: 6.609 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.478e-05/1.275, allocations: 8.562 kB / 0.7304 GB, free: 6.609 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005495/1.276, allocations: 96.44 kB / 0.7305 GB, free: 6.539 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002097/1.278, allocations: 188.7 kB / 0.7307 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004124/1.282, allocations: 0.794 MB / 0.7315 GB, free: 6.023 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/1.282, allocations: 48.12 kB / 0.7315 GB, free: 6.004 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003229/1.283, allocations: 60.44 kB / 0.7316 GB, free: 5.984 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003442/1.286, allocations: 0.8223 MB / 0.7324 GB, free: 5.559 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.493e-05/1.286, allocations: 2.656 kB / 0.7324 GB, free: 5.559 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/1.286, allocations: 21.34 kB / 0.7324 GB, free: 5.543 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/1.286, allocations: 16 kB / 0.7324 GB, free: 5.543 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002162/1.289, allocations: 0.571 MB / 0.733 GB, free: 5.375 MB / 0.545 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.01094/1.3, allocations: 4.263 MB / 0.7371 GB, free: 2.012 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/1.301, allocations: 465.9 kB / 0.7376 GB, free: 1.809 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/1.301, allocations: 14.81 kB / 0.7376 GB, free: 1.797 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001061/1.303, allocations: 327 kB / 0.7379 GB, free: 1.527 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001208/1.304, allocations: 39.53 kB / 0.7379 GB, free: 1.488 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 7.745e-06/1.304, allocations: 0 / 0.7379 GB, free: 1.488 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.01017/1.314, allocations: 1.673 MB / 0.7396 GB, free: 60 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/1.314, allocations: 110.8 kB / 0.7397 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004679/1.319, allocations: 1.147 MB / 0.7408 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002648/1.319, allocations: 37.7 kB / 0.7408 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009827/1.32, allocations: 488.4 kB / 0.7413 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000301/1.321, allocations: 110.4 kB / 0.7414 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.192e-05/1.321, allocations: 12 kB / 0.7414 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002496/1.321, allocations: 326 kB / 0.7417 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008208/1.322, allocations: 205 kB / 0.7419 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/1.323, allocations: 0.5267 MB / 0.7424 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000993/1.324, allocations: 311.9 kB / 0.7427 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/1.324, allocations: 4 kB / 0.7427 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.004768/1.329, allocations: 1.053 MB / 0.7438 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.00171/1.331, allocations: 2.14 MB / 0.7458 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.546e-05/1.331, allocations: 4 kB / 0.7458 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00257/1.333, allocations: 347.3 kB / 0.7462 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008163/1.334, allocations: 107.8 kB / 0.7463 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/1.337, allocations: 1.04 MB / 0.7473 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002316/1.339, allocations: 87.81 kB / 0.7474 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/1.339, allocations: 24 kB / 0.7474 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/1.339, allocations: 4 kB / 0.7474 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003004/1.342, allocations: 0.7995 MB / 0.7482 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/1.342, allocations: 4 kB / 0.7482 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/1.344, allocations: 251.2 kB / 0.7484 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007273/1.344, allocations: 95.86 kB / 0.7485 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008036/1.352, allocations: 3.104 MB / 0.7516 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/1.355, allocations: 87.81 kB / 0.7516 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/1.355, allocations: 20 kB / 0.7517 GB, free: 3.121 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.001718/1.357, allocations: 469 kB / 0.7521 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005358/1.357, allocations: 114.6 kB / 0.7522 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002889/1.36, allocations: 0.7689 MB / 0.753 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/1.36, allocations: 4 kB / 0.753 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.36, allocations: 0 / 0.753 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/1.36, allocations: 0 / 0.753 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004207/1.364, allocations: 1.166 MB / 0.7541 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/1.364, allocations: 4 kB / 0.7541 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004877/1.365, allocations: 60.17 kB / 0.7542 GB, free: 464 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001063/1.366, allocations: 241.5 kB / 0.7544 GB, free: 220 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.535e-05/1.366, allocations: 15.89 kB / 0.7544 GB, free: 204 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/1.368, allocations: 1 MB / 0.7554 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/1.368, allocations: 3.984 kB / 0.7554 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002944/1.371, allocations: 0.913 MB / 0.7563 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/1.372, allocations: 231.8 kB / 0.7565 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005167/1.373, allocations: 8 kB / 0.7565 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/1.374, allocations: 67.77 kB / 0.7566 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/1.374, allocations: 31.91 kB / 0.7566 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/1.375, allocations: 12 kB / 0.7566 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002643/1.377, allocations: 0.8118 MB / 0.7574 GB, free: 13 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.21e-07/1.377, allocations: 0 / 0.7574 GB, free: 13 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003548/1.381, allocations: 475.4 kB / 0.7579 GB, free: 12.53 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.004093/1.385, allocations: 1.929 MB / 0.7597 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004338/1.389, allocations: 1.13 MB / 0.7609 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-05/1.389, allocations: 8.062 kB / 0.7609 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/1.39, allocations: 262.4 kB / 0.7611 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006678/1.397, allocations: 0.6315 MB / 0.7617 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03472/1.432, allocations: 10.11 MB / 0.7716 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001608/1.434, allocations: 1.205 MB / 0.7728 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002466/1.436, allocations: 344.1 kB / 0.7731 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009689/1.437, allocations: 323.3 kB / 0.7734 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of SimCode: time 2.294e-06/1.437, allocations: 0 / 0.7734 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1389/1.576, allocations: 30.65 MB / 0.8033 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000544/1.577, allocations: 278.4 kB / 0.8036 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.575/6.152, allocations: 0 / 0.8036 GB, free: 13.61 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) Environment - environmentSimulation: