Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.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.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop",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.001244/0.001244, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00131/0.00131, allocations: 190.8 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6944/0.6944, allocations: 132.2 MB / 422.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 59.84 kB / 0.5012 GB, free: 9.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1299, allocations: 80.2 MB / 0.5795 GB, free: 9.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.3567/0.4866, allocations: 159.3 MB / 0.735 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002407/0.489, allocations: 1.718 MB / 0.7367 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.4892, allocations: 9.969 kB / 0.7367 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004428/0.4897, allocations: 132 kB / 0.7368 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009935/0.4907, allocations: 493 kB / 0.7373 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008092/0.4915, allocations: 382.2 kB / 0.7377 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007038/0.4922, allocations: 0.7611 MB / 0.7384 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00022/0.4925, allocations: 154 kB / 0.7386 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005004/0.493, allocations: 299.5 kB / 0.7388 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.4931, allocations: 162.9 kB / 0.739 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.4932, allocations: 7.75 kB / 0.739 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009337/0.4941, allocations: 0.7738 MB / 0.7398 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.029e-05/0.4942, allocations: 74.06 kB / 0.7398 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.4943, allocations: 116.2 kB / 0.7399 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005627/0.4949, allocations: 0.5074 MB / 0.7404 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.4949, allocations: 0 / 0.7404 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.51e-07/0.4949, allocations: 0 / 0.7404 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.4949, allocations: 0 / 0.7404 GB, free: 11.54 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006803/0.4956, allocations: 0.5914 MB / 0.741 GB, free: 11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.4956, allocations: 10.59 kB / 0.741 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.959e-05/0.4957, allocations: 48.12 kB / 0.7411 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002907/0.496, allocations: 58.92 kB / 0.7411 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.4963, allocations: 293.2 kB / 0.7414 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.4963, allocations: 9.25 kB / 0.7414 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.4963, allocations: 14.5 kB / 0.7414 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.4966, allocations: 190.4 kB / 0.7416 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.4966, allocations: 0 / 0.7416 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.4967, allocations: 10.38 kB / 0.7416 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.4967, allocations: 2.5 kB / 0.7416 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.497, allocations: 126 kB / 0.7417 GB, free: 10.43 MB / 0.5606 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.0008415/0.4978, allocations: 0.7831 MB / 0.7425 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.498, allocations: 84.84 kB / 0.7426 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.4982, allocations: 80.55 kB / 0.7427 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002888/0.4985, allocations: 187.7 kB / 0.7428 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.4985, allocations: 36.36 kB / 0.7429 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.4985, allocations: 0 / 0.7429 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0005834/0.4991, allocations: 224 kB / 0.7431 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.4992, allocations: 55.34 kB / 0.7431 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.4994, allocations: 271.1 kB / 0.7434 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.4994, allocations: 27.08 kB / 0.7434 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.969e-05/0.4995, allocations: 148.2 kB / 0.7436 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.4995, allocations: 31.67 kB / 0.7436 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.4996, allocations: 32.72 kB / 0.7436 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.851e-05/0.4997, allocations: 332.3 kB / 0.744 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.4998, allocations: 50.81 kB / 0.744 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.4999, allocations: 87.48 kB / 0.7441 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.5002, allocations: 126.2 kB / 0.7442 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5002, allocations: 4 kB / 0.7442 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002979/0.5005, allocations: 153.4 kB / 0.7444 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.5005, allocations: 13.12 kB / 0.7444 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.5005, allocations: 5.5 kB / 0.7444 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.5005, allocations: 1.438 kB / 0.7444 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.5007, allocations: 20.17 kB / 0.7444 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.5007, allocations: 5.828 kB / 0.7444 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.5009, allocations: 17.27 kB / 0.7444 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.5009, allocations: 9.5 kB / 0.7444 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001712/0.5011, allocations: 141.4 kB / 0.7446 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001433/0.5012, allocations: 103.4 kB / 0.7447 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002137/0.5014, allocations: 116.9 kB / 0.7448 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.5014, allocations: 5.125 kB / 0.7448 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002898/0.5017, allocations: 159.5 kB / 0.7449 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.811e-06/0.5018, allocations: 7.406 kB / 0.7449 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-06/0.5018, allocations: 0 / 0.7449 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.028e-06/0.5018, allocations: 6.062 kB / 0.7449 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.995e-05/0.5019, allocations: 19.45 kB / 0.745 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.5019, allocations: 2.531 kB / 0.745 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.502, allocations: 22.36 kB / 0.745 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.5021, allocations: 8.734 kB / 0.745 GB, free: 7.746 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.921e-05/0.5021, allocations: 187.7 kB / 0.7452 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.5022, allocations: 28.56 kB / 0.7452 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/0.5025, allocations: 159.7 kB / 0.7453 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.5025, allocations: 0 / 0.7453 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5025, allocations: 4 kB / 0.7454 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5026, allocations: 6.719 kB / 0.7454 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000736/0.5033, allocations: 0.5845 MB / 0.7459 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5033, allocations: 1.812 kB / 0.7459 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.955e-05/0.5034, allocations: 26.27 kB / 0.746 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.5034, allocations: 6.078 kB / 0.746 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.5034, allocations: 2.594 kB / 0.746 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.5034, allocations: 2.688 kB / 0.746 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5034, allocations: 2.688 kB / 0.746 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.5038, allocations: 298.2 kB / 0.7463 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.472e-05/0.5039, allocations: 117.2 kB / 0.7464 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.5039, allocations: 5.25 kB / 0.7464 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.5041, allocations: 19.75 kB / 0.7464 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.5041, allocations: 16.36 kB / 0.7464 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.5041, allocations: 5.281 kB / 0.7464 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001421/0.5043, allocations: 198.8 kB / 0.7466 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5043, allocations: 0 / 0.7466 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000395/0.5047, allocations: 101.8 kB / 0.7467 GB, free: 6.344 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007517/0.5055, allocations: 0.8861 MB / 0.7476 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003779/0.5058, allocations: 165.8 kB / 0.7477 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5059, allocations: 0 / 0.7477 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.506, allocations: 60.55 kB / 0.7478 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007619/0.5068, allocations: 131.8 kB / 0.7479 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.5095, allocations: 2.42 MB / 0.7503 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.5099, allocations: 0.7538 MB / 0.751 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000244/0.5101, allocations: 70.91 kB / 0.7511 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.5102, allocations: 68.64 kB / 0.7511 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.5102, allocations: 0 / 0.7511 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.244/2.754, allocations: 6.623 MB / 0.7576 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/2.755, allocations: 235.3 kB / 0.7578 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.735/9.49, allocations: 0 / 0.7578 GB, free: 12.32 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)