Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example2.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.Examples.Performance.Example2,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example2,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example2",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.01123/0.01123, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001997/0.001998, allocations: 188.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.235/2.235, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.201/1.201, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 76.06 kB / 0.5808 GB, free: 8.078 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.948/0.9502, allocations: 80.2 MB / 0.6592 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.05523/1.006, allocations: 29.61 MB / 0.6881 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03059/1.036, allocations: 9.907 MB / 0.6978 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004641/1.041, allocations: 45.47 kB / 0.6978 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004851/1.046, allocations: 0.6751 MB / 0.6985 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01166/1.058, allocations: 1.455 MB / 0.6999 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.009266/1.067, allocations: 1.385 MB / 0.7012 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01684/1.084, allocations: 3.811 MB / 0.705 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006332/1.09, allocations: 1.367 MB / 0.7063 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009255/1.1, allocations: 1.524 MB / 0.7078 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004574/1.104, allocations: 1.038 MB / 0.7088 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006131/1.105, allocations: 120 kB / 0.7089 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005636/1.111, allocations: 1.131 MB / 0.71 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001039/1.112, allocations: 402.6 kB / 0.7104 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002587/1.114, allocations: 0.7852 MB / 0.7112 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007301/1.122, allocations: 2.45 MB / 0.7136 GB, free: 14.46 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.357e-05/1.122, allocations: 0 / 0.7136 GB, free: 14.46 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.415e-06/1.122, allocations: 7.844 kB / 0.7136 GB, free: 14.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.292e-05/1.122, allocations: 0 / 0.7136 GB, free: 14.45 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.006386/1.128, allocations: 1.934 MB / 0.7155 GB, free: 12.46 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 9.446e-05/1.128, allocations: 8.031 kB / 0.7155 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002716/1.129, allocations: 130.8 kB / 0.7156 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001893/1.13, allocations: 250.8 kB / 0.7158 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00461/1.135, allocations: 1.35 MB / 0.7171 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.158e-05/1.135, allocations: 62 kB / 0.7172 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/1.135, allocations: 91.98 kB / 0.7173 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/1.138, allocations: 0.9733 MB / 0.7182 GB, free: 9.484 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.076e-05/1.138, allocations: 7.938 kB / 0.7183 GB, free: 9.477 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/1.138, allocations: 36 kB / 0.7183 GB, free: 9.441 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.937e-05/1.138, allocations: 20 kB / 0.7183 GB, free: 9.422 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/1.141, allocations: 0.7064 MB / 0.719 GB, free: 8.715 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.01007/1.151, allocations: 4.84 MB / 0.7237 GB, free: 3.543 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/1.153, allocations: 0.5537 MB / 0.7243 GB, free: 2.984 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000938/1.154, allocations: 312.1 kB / 0.7246 GB, free: 2.68 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004138/1.158, allocations: 1.58 MB / 0.7261 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001104/1.159, allocations: 327 kB / 0.7264 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008148/1.16, allocations: 47.52 kB / 0.7265 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of pre-optimization done (n=43): time 8.255e-06/1.16, allocations: 4 kB / 0.7265 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of matching and sorting (n=43): time 0.005359/1.165, allocations: 1.155 MB / 0.7276 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.744e-05/1.165, allocations: 59.41 kB / 0.7276 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002957/1.168, allocations: 1.286 MB / 0.7289 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000176/1.169, allocations: 41.7 kB / 0.7289 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009642/1.169, allocations: 0.6411 MB / 0.7296 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002636/1.17, allocations: 153.8 kB / 0.7297 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004036/1.17, allocations: 158.2 kB / 0.7299 GB, free: 13 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002456/1.17, allocations: 337.9 kB / 0.7302 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/1.171, allocations: 275.6 kB / 0.7305 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/1.173, allocations: 0.5865 MB / 0.731 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002156/1.175, allocations: 0.8097 MB / 0.7318 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/1.175, allocations: 0 / 0.7318 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004419/1.179, allocations: 1.102 MB / 0.7329 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/1.18, allocations: 33.7 kB / 0.7329 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.238e-05/1.18, allocations: 8 kB / 0.7329 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/1.181, allocations: 188.3 kB / 0.7331 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009182/1.182, allocations: 143.8 kB / 0.7332 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/1.183, allocations: 0.7668 MB / 0.734 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/1.185, allocations: 48.59 kB / 0.734 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/1.185, allocations: 36.11 kB / 0.7341 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001991/1.187, allocations: 0.5561 MB / 0.7346 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001165/1.188, allocations: 0.5631 MB / 0.7352 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001838/1.19, allocations: 0.7395 MB / 0.7359 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.091e-05/1.19, allocations: 4 kB / 0.7359 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003726/1.194, allocations: 1.058 MB / 0.7369 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.304e-05/1.194, allocations: 41.77 kB / 0.737 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.274e-05/1.194, allocations: 15.92 kB / 0.737 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004102/1.195, allocations: 104.8 kB / 0.7371 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008236/1.195, allocations: 127.8 kB / 0.7372 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003832/1.199, allocations: 2.36 MB / 0.7395 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/1.201, allocations: 44.75 kB / 0.7396 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/1.201, allocations: 35.92 kB / 0.7396 GB, free: 2.27 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004789/1.202, allocations: 234.2 kB / 0.7398 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003503/1.202, allocations: 130.3 kB / 0.7399 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002972/1.205, allocations: 0.8687 MB / 0.7408 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/1.205, allocations: 7.938 kB / 0.7408 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/1.205, allocations: 0 / 0.7408 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002141/1.207, allocations: 0.8764 MB / 0.7416 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005014/1.212, allocations: 1.791 MB / 0.7434 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/1.212, allocations: 4.062 kB / 0.7434 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000665/1.213, allocations: 79.88 kB / 0.7435 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004655/1.213, allocations: 124.7 kB / 0.7436 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.999e-05/1.214, allocations: 15.98 kB / 0.7436 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/1.215, allocations: 0.7528 MB / 0.7443 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.215, allocations: 0 / 0.7443 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003837/1.218, allocations: 1.182 MB / 0.7455 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/1.22, allocations: 259.4 kB / 0.7457 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002421/1.22, allocations: 12 kB / 0.7458 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008652/1.221, allocations: 27.97 kB / 0.7458 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/1.221, allocations: 44.27 kB / 0.7458 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.492e-05/1.221, allocations: 19.97 kB / 0.7458 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002442/1.224, allocations: 0.8897 MB / 0.7467 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.61e-07/1.224, allocations: 4.062 kB / 0.7467 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004088/1.228, allocations: 0.6394 MB / 0.7473 GB, free: 10.09 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006378/1.234, allocations: 1.931 MB / 0.7492 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005651/1.24, allocations: 1.328 MB / 0.7505 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.785e-05/1.24, allocations: 4 kB / 0.7505 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001431/1.241, allocations: 330.2 kB / 0.7508 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005309/1.247, allocations: 0.5925 MB / 0.7514 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03481/1.281, allocations: 9.473 MB / 0.7607 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002388/1.284, allocations: 1.271 MB / 0.7619 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002788/1.287, allocations: 322.3 kB / 0.7622 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/1.288, allocations: 499.2 kB / 0.7627 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of SimCode: time 3.346e-06/1.288, allocations: 0 / 0.7627 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1627/1.451, allocations: 36.96 MB / 0.7988 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.8/27.25, allocations: 10.97 kB / 0.7988 GB, free: 5.449 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example2.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)