Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.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.PlugFlowPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe",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.004364/0.004364, allocations: 100.1 kB / 15.73 MB, free: 6.016 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.001188/0.001188, allocations: 185.9 kB / 16.67 MB, free: 5.934 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7939/0.7939, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 69.95 kB / 0.5809 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1463, allocations: 80.22 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.4463/0.5926, allocations: 115.1 MB / 0.7716 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03154/0.6242, allocations: 26.52 MB / 0.7975 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005394/0.6297, allocations: 114.4 kB / 0.7976 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003348/0.6331, allocations: 1.145 MB / 0.7988 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009845/0.6429, allocations: 3.414 MB / 0.8021 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006247/0.6492, allocations: 2.348 MB / 0.8044 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007702/0.6569, allocations: 6.189 MB / 0.8104 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002428/0.6593, allocations: 1.925 MB / 0.8123 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005372/0.6647, allocations: 2.672 MB / 0.8149 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002705/0.6674, allocations: 1.768 MB / 0.8166 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003011/0.6678, allocations: 220.1 kB / 0.8168 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005392/0.6732, allocations: 2.346 MB / 0.8191 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005475/0.6737, allocations: 0.5339 MB / 0.8197 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001524/0.6753, allocations: 1.283 MB / 0.8209 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006386/0.6816, allocations: 4.128 MB / 0.8249 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6817, allocations: 0 / 0.8249 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.943e-06/0.6817, allocations: 0 / 0.8249 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.726e-05/0.6817, allocations: 0 / 0.8249 GB, free: 9.992 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.00534/0.6871, allocations: 2.922 MB / 0.8278 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.6871, allocations: 7.875 kB / 0.8278 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002396/0.6873, allocations: 197.8 kB / 0.828 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006342/0.688, allocations: 276.7 kB / 0.8283 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00402/0.692, allocations: 2.149 MB / 0.8304 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.958e-05/0.6921, allocations: 103.2 kB / 0.8305 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/0.6923, allocations: 139.3 kB / 0.8306 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/0.6947, allocations: 1.454 MB / 0.832 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.621e-05/0.6947, allocations: 2.406 kB / 0.832 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/0.6948, allocations: 56.75 kB / 0.8321 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.755e-05/0.6949, allocations: 35.31 kB / 0.8321 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/0.6967, allocations: 1.027 MB / 0.8331 GB, free: 4.398 MB / 0.5919 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.009715/0.7064, allocations: 8.14 MB / 0.841 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.708, allocations: 0.8378 MB / 0.8419 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006258/0.7086, allocations: 379.8 kB / 0.8422 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002476/0.7111, allocations: 2.806 MB / 0.845 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.917e-05/0.7112, allocations: 47.2 kB / 0.845 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 3.116e-06/0.7112, allocations: 0 / 0.845 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.002478/0.7137, allocations: 1.133 MB / 0.8461 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.7137, allocations: 64 kB / 0.8462 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002302/0.716, allocations: 1.625 MB / 0.8478 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.518e-05/0.7161, allocations: 42.47 kB / 0.8478 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008357/0.717, allocations: 0.9515 MB / 0.8487 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003201/0.7173, allocations: 314.5 kB / 0.849 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003395/0.7176, allocations: 230.8 kB / 0.8493 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.7178, allocations: 353.9 kB / 0.8496 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006192/0.7184, allocations: 333.9 kB / 0.8499 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009722/0.7194, allocations: 0.6994 MB / 0.8506 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/0.7211, allocations: 1.097 MB / 0.8517 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.7211, allocations: 4 kB / 0.8517 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00231/0.7234, allocations: 1.258 MB / 0.8529 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.7235, allocations: 16.19 kB / 0.8529 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.078e-05/0.7235, allocations: 12 kB / 0.8529 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.221e-05/0.7235, allocations: 20 kB / 0.8529 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008179/0.7244, allocations: 259.5 kB / 0.8532 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.295e-05/0.7244, allocations: 31.86 kB / 0.8532 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.7255, allocations: 131.1 kB / 0.8534 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.7256, allocations: 67.97 kB / 0.8534 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00116/0.7268, allocations: 0.6197 MB / 0.854 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009887/0.7278, allocations: 0.7033 MB / 0.8547 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00165/0.7294, allocations: 1.077 MB / 0.8558 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.324e-06/0.7295, allocations: 5.562 kB / 0.8558 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002269/0.7317, allocations: 1.254 MB / 0.857 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.7318, allocations: 12 kB / 0.857 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-05/0.7318, allocations: 19.98 kB / 0.857 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.7318, allocations: 16 kB / 0.857 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007992/0.7326, allocations: 259.6 kB / 0.8573 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.423e-05/0.7327, allocations: 27.88 kB / 0.8573 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.7337, allocations: 103.7 kB / 0.8574 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.7338, allocations: 67.98 kB / 0.8575 GB, free: 9.484 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 0.000319/0.7341, allocations: 251.8 kB / 0.8577 GB, free: 9.23 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000329/0.7345, allocations: 202.7 kB / 0.8579 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003182/0.7377, allocations: 1.737 MB / 0.8596 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.763e-05/0.7377, allocations: 23.92 kB / 0.8596 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.7377, allocations: 0 / 0.8596 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001821/0.7396, allocations: 1.146 MB / 0.8607 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005496/0.7451, allocations: 3.479 MB / 0.8641 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.807e-05/0.7451, allocations: 20.14 kB / 0.8642 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007274/0.7458, allocations: 199.7 kB / 0.8644 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.421e-05/0.7459, allocations: 15.94 kB / 0.8644 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-05/0.7459, allocations: 39.98 kB / 0.8644 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.295e-05/0.746, allocations: 11.94 kB / 0.8644 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/0.746, allocations: 16.58 kB / 0.8644 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003455/0.7494, allocations: 2.248 MB / 0.8666 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007465/0.7502, allocations: 451.2 kB / 0.8671 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002207/0.7504, allocations: 32.06 kB / 0.8671 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007893/0.7512, allocations: 51.97 kB / 0.8671 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002122/0.7515, allocations: 116.7 kB / 0.8672 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.7516, allocations: 63.97 kB / 0.8673 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001639/0.7532, allocations: 1.083 MB / 0.8684 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7532, allocations: 0 / 0.8684 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002894/0.7561, allocations: 1.146 MB / 0.8695 GB, free: 12.88 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * 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.005566/0.7617, allocations: 3.495 MB / 0.8729 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003146/0.7649, allocations: 1.813 MB / 0.8747 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.7649, allocations: 4 kB / 0.8747 GB, free: 7.48 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.7662, allocations: 0.8221 MB / 0.8755 GB, free: 6.633 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004551/0.7707, allocations: 0.957 MB / 0.8764 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01911/0.7899, allocations: 12.54 MB / 0.8887 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/0.791, allocations: 1.436 MB / 0.8901 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001822/0.7929, allocations: 0.5387 MB / 0.8906 GB, free: 6.488 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/0.794, allocations: 0.8468 MB / 0.8914 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of SimCode: time 6.11e-07/0.794, allocations: 4 kB / 0.8914 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5566/1.351, allocations: 58.74 MB / 0.9488 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/13.28, allocations: 11.98 kB / 0.9488 GB, free: 11.37 MB / 0.7169 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)