Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_dev_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.007175/0.007175, allocations: 94.81 kB / 15.73 MB, free: 6.043 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.001753/0.001754, allocations: 204.9 kB / 16.68 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 1.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8933/0.8933, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.89 kB / 0.5851 GB, free: 3.879 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3434, allocations: 80.91 MB / 0.6641 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.1618/0.5052, allocations: 161.5 MB / 0.8219 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002613/0.5079, allocations: 1.706 MB / 0.8235 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.508, allocations: 11.88 kB / 0.8236 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004845/0.5086, allocations: 159 kB / 0.8237 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001052/0.5096, allocations: 0.5329 MB / 0.8242 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009377/0.5106, allocations: 438 kB / 0.8246 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006854/0.5113, allocations: 0.5676 MB / 0.8252 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/0.5116, allocations: 176.5 kB / 0.8254 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005072/0.5121, allocations: 330.7 kB / 0.8257 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.5123, allocations: 147.3 kB / 0.8258 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.5123, allocations: 16 kB / 0.8258 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009856/0.5133, allocations: 0.6977 MB / 0.8265 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.542e-05/0.5134, allocations: 79.72 kB / 0.8266 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.5135, allocations: 119.3 kB / 0.8267 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006759/0.5142, allocations: 0.4995 MB / 0.8272 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.5142, allocations: 0 / 0.8272 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5143, allocations: 0 / 0.8272 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.5143, allocations: 0 / 0.8272 GB, free: 10.02 MB / 0.6544 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.0007958/0.5151, allocations: 0.5989 MB / 0.8278 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.5151, allocations: 8.031 kB / 0.8278 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.165e-05/0.5152, allocations: 46.55 kB / 0.8278 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003196/0.5155, allocations: 55.77 kB / 0.8279 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.5159, allocations: 313.5 kB / 0.8282 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.516, allocations: 11.94 kB / 0.8282 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.516, allocations: 16 kB / 0.8282 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003647/0.5164, allocations: 196.1 kB / 0.8284 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.5164, allocations: 0 / 0.8284 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.5164, allocations: 8 kB / 0.8284 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.5164, allocations: 7.938 kB / 0.8284 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.5167, allocations: 135.8 kB / 0.8285 GB, free: 8.523 MB / 0.6544 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.0009974/0.5177, allocations: 0.7772 MB / 0.8293 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.518, allocations: 78.53 kB / 0.8294 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.5182, allocations: 76.88 kB / 0.8295 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002749/0.5184, allocations: 194.1 kB / 0.8296 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.5185, allocations: 38.5 kB / 0.8297 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.5185, allocations: 0 / 0.8297 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0006856/0.5192, allocations: 213.4 kB / 0.8299 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.5192, allocations: 59.39 kB / 0.8299 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.5195, allocations: 271 kB / 0.8302 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.5195, allocations: 25.7 kB / 0.8302 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.446e-05/0.5196, allocations: 148 kB / 0.8304 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.5196, allocations: 31.7 kB / 0.8304 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-05/0.5197, allocations: 33.7 kB / 0.8304 GB, free: 6.438 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.5198, allocations: 334.8 kB / 0.8307 GB, free: 6.102 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.52, allocations: 48.83 kB / 0.8308 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.5201, allocations: 89.11 kB / 0.8309 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.5204, allocations: 127.3 kB / 0.831 GB, free: 5.809 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5204, allocations: 0 / 0.831 GB, free: 5.809 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003502/0.5208, allocations: 162 kB / 0.8312 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.5208, allocations: 4 kB / 0.8312 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5208, allocations: 3.984 kB / 0.8312 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.5208, allocations: 4 kB / 0.8312 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.521, allocations: 23.98 kB / 0.8312 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.521, allocations: 4.031 kB / 0.8312 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.5212, allocations: 23.81 kB / 0.8312 GB, free: 5.582 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.5212, allocations: 8 kB / 0.8312 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001964/0.5214, allocations: 148.1 kB / 0.8314 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001564/0.5216, allocations: 89.05 kB / 0.8314 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002528/0.5218, allocations: 127.3 kB / 0.8316 GB, free: 5.184 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.5218, allocations: 0 / 0.8316 GB, free: 5.184 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003206/0.5222, allocations: 149.4 kB / 0.8317 GB, free: 5.031 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.5222, allocations: 11.88 kB / 0.8317 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.5222, allocations: 8.031 kB / 0.8317 GB, free: 5.012 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-06/0.5222, allocations: 0 / 0.8317 GB, free: 5.012 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.5223, allocations: 19.98 kB / 0.8317 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.5223, allocations: 3.984 kB / 0.8318 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.5225, allocations: 19.92 kB / 0.8318 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.5225, allocations: 8 kB / 0.8318 GB, free: 4.961 MB / 0.6544 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 8.77e-05/0.5226, allocations: 188.2 kB / 0.832 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.5227, allocations: 31.75 kB / 0.832 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003672/0.5231, allocations: 163.3 kB / 0.8321 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.5231, allocations: 0 / 0.8321 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5231, allocations: 0 / 0.8321 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.5231, allocations: 0 / 0.8321 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008541/0.524, allocations: 0.586 MB / 0.8327 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.524, allocations: 4 kB / 0.8327 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.5241, allocations: 24.23 kB / 0.8327 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.5241, allocations: 4.219 kB / 0.8327 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.5241, allocations: 8 kB / 0.8328 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.5241, allocations: 4 kB / 0.8328 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.5241, allocations: 11.92 kB / 0.8328 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.5245, allocations: 293.5 kB / 0.833 GB, free: 3.523 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.5246, allocations: 116.9 kB / 0.8332 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.5247, allocations: 4 kB / 0.8332 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.5249, allocations: 11.98 kB / 0.8332 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.5249, allocations: 23.86 kB / 0.8332 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-06/0.5249, allocations: 4 kB / 0.8332 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001662/0.5251, allocations: 197.9 kB / 0.8334 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5251, allocations: 0 / 0.8334 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004463/0.5256, allocations: 95.83 kB / 0.8335 GB, free: 3.066 MB / 0.6544 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.0009325/0.5265, allocations: 0.8932 MB / 0.8344 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005074/0.527, allocations: 163.8 kB / 0.8345 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.5271, allocations: 0 / 0.8345 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.5272, allocations: 72.27 kB / 0.8346 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007153/0.528, allocations: 124.2 kB / 0.8347 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002723/0.5307, allocations: 2.357 MB / 0.837 GB, free: 15.29 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.531, allocations: 0.7519 MB / 0.8377 GB, free: 14.52 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001938/0.5312, allocations: 69.88 kB / 0.8378 GB, free: 14.45 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.5313, allocations: 75.41 kB / 0.8379 GB, free: 14.37 MB / 0.67 GB Notification: Performance of SimCode: time 3.21e-07/0.5313, allocations: 0 / 0.8379 GB, free: 14.37 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.5552, allocations: 6.887 MB / 0.8446 GB, free: 7.645 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.701/8.257, allocations: 4.062 kB / 0.8446 GB, free: 7.641 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PressureDrop.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)