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.007113/0.007113, allocations: 99.64 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.001186/0.001186, allocations: 189.7 kB / 16.67 MB, free: 5.965 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9676/0.9676, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.89 kB / 0.5851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4363, allocations: 80.91 MB / 0.6641 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.1898/0.6262, allocations: 161.5 MB / 0.8219 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003291/0.6295, allocations: 1.71 MB / 0.8236 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003295/0.6299, allocations: 11.88 kB / 0.8236 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005614/0.6305, allocations: 159 kB / 0.8237 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.6319, allocations: 0.5056 MB / 0.8242 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.6331, allocations: 433.5 kB / 0.8246 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000876/0.634, allocations: 0.5693 MB / 0.8252 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003152/0.6343, allocations: 172.5 kB / 0.8253 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006054/0.635, allocations: 322.7 kB / 0.8256 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.6352, allocations: 155.3 kB / 0.8258 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.6352, allocations: 12 kB / 0.8258 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.6365, allocations: 0.6976 MB / 0.8265 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.777e-05/0.6366, allocations: 75.73 kB / 0.8266 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.6367, allocations: 119.3 kB / 0.8267 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007447/0.6375, allocations: 0.4946 MB / 0.8272 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.6375, allocations: 4 kB / 0.8272 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6375, allocations: 0 / 0.8272 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.6375, allocations: 4 kB / 0.8272 GB, free: 10.05 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.0008522/0.6384, allocations: 0.5838 MB / 0.8277 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.6384, allocations: 8.031 kB / 0.8277 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.553e-05/0.6385, allocations: 46.55 kB / 0.8278 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003425/0.6388, allocations: 59.61 kB / 0.8278 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005101/0.6394, allocations: 305.3 kB / 0.8281 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.6394, allocations: 8 kB / 0.8281 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.6394, allocations: 16 kB / 0.8282 GB, free: 8.938 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.6398, allocations: 192.1 kB / 0.8283 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.6399, allocations: 4 kB / 0.8283 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.6399, allocations: 4 kB / 0.8284 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.6399, allocations: 11.88 kB / 0.8284 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003047/0.6402, allocations: 131.8 kB / 0.8285 GB, free: 8.586 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.001075/0.6413, allocations: 0.7886 MB / 0.8293 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.6416, allocations: 74.53 kB / 0.8293 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.6417, allocations: 76.88 kB / 0.8294 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003083/0.6421, allocations: 194.1 kB / 0.8296 GB, free: 7.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.6421, allocations: 38.5 kB / 0.8296 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.793e-06/0.6421, allocations: 3.938 kB / 0.8296 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0006857/0.6428, allocations: 213.3 kB / 0.8298 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.6429, allocations: 55.34 kB / 0.8299 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.6431, allocations: 271 kB / 0.8301 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.6432, allocations: 25.7 kB / 0.8302 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.6433, allocations: 144 kB / 0.8303 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.6433, allocations: 35.55 kB / 0.8303 GB, free: 6.531 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.245e-05/0.6434, allocations: 33.61 kB / 0.8304 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.6435, allocations: 334.8 kB / 0.8307 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.6437, allocations: 48.81 kB / 0.8307 GB, free: 6.105 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.6439, allocations: 89.11 kB / 0.8308 GB, free: 6 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.6442, allocations: 123.3 kB / 0.8309 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6442, allocations: 0 / 0.8309 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003679/0.6445, allocations: 161.2 kB / 0.8311 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.6446, allocations: 6.812 kB / 0.8311 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.6446, allocations: 0 / 0.8311 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.6446, allocations: 4 kB / 0.8311 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.6448, allocations: 28.02 kB / 0.8311 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.6448, allocations: 0 / 0.8311 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.645, allocations: 23.83 kB / 0.8312 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.645, allocations: 4 kB / 0.8312 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002155/0.6452, allocations: 148.1 kB / 0.8313 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001665/0.6454, allocations: 97.61 kB / 0.8314 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002579/0.6456, allocations: 115.5 kB / 0.8315 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.213e-06/0.6457, allocations: 3.938 kB / 0.8315 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003207/0.646, allocations: 153.3 kB / 0.8317 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.646, allocations: 12.12 kB / 0.8317 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.646, allocations: 4.125 kB / 0.8317 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.181e-06/0.646, allocations: 7.938 kB / 0.8317 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.6461, allocations: 23.92 kB / 0.8317 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-06/0.6462, allocations: 0 / 0.8317 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.6463, allocations: 19.98 kB / 0.8317 GB, free: 5.027 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.6464, allocations: 11.97 kB / 0.8317 GB, free: 5.016 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 0.000119/0.6465, allocations: 192.2 kB / 0.8319 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.189e-05/0.6465, allocations: 23.66 kB / 0.8319 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004082/0.647, allocations: 163.3 kB / 0.8321 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.647, allocations: 0 / 0.8321 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.647, allocations: 0 / 0.8321 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.647, allocations: 0 / 0.8321 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000963/0.648, allocations: 0.5898 MB / 0.8327 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.648, allocations: 7.984 kB / 0.8327 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.6481, allocations: 24.14 kB / 0.8327 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.6481, allocations: 8 kB / 0.8327 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.6481, allocations: 0 / 0.8327 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.6481, allocations: 4 kB / 0.8327 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.6481, allocations: 7.938 kB / 0.8327 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004273/0.6486, allocations: 281.2 kB / 0.833 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.6487, allocations: 120.7 kB / 0.8331 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.6488, allocations: 4 kB / 0.8331 GB, free: 3.453 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.6489, allocations: 15.98 kB / 0.8331 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.649, allocations: 19.86 kB / 0.8331 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.649, allocations: 4 kB / 0.8331 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001743/0.6492, allocations: 194 kB / 0.8333 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6492, allocations: 4 kB / 0.8333 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004827/0.6497, allocations: 95.83 kB / 0.8334 GB, free: 3.133 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.00102/0.6507, allocations: 0.901 MB / 0.8343 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005072/0.6513, allocations: 159.8 kB / 0.8345 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6513, allocations: 0 / 0.8345 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.6514, allocations: 72.33 kB / 0.8345 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007492/0.6522, allocations: 108.9 kB / 0.8346 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/0.6552, allocations: 2.346 MB / 0.8369 GB, free: 15.38 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.6556, allocations: 0.7597 MB / 0.8377 GB, free: 14.59 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002278/0.6558, allocations: 65.89 kB / 0.8377 GB, free: 14.53 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.656, allocations: 71.41 kB / 0.8378 GB, free: 14.46 MB / 0.67 GB Notification: Performance of SimCode: time 7.82e-07/0.656, allocations: 0 / 0.8378 GB, free: 14.46 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.6842, allocations: 6.992 MB / 0.8446 GB, free: 7.621 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.73, allocations: 0 / 0.8446 GB, free: 7.621 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PressureDrop.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)