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: translateModel(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005571/0.005571, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001329/0.001329, allocations: 193 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 1.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8627/0.8627, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.81 kB / 0.5856 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2076, allocations: 80.92 MB / 0.6646 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.6972/0.9048, allocations: 161.5 MB / 0.8224 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003309/0.9082, allocations: 1.705 MB / 0.824 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003804/0.9086, allocations: 12.03 kB / 0.824 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006529/0.9093, allocations: 154 kB / 0.8242 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.9108, allocations: 0.5097 MB / 0.8247 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.9122, allocations: 425.7 kB / 0.8251 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008555/0.913, allocations: 0.5706 MB / 0.8257 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003091/0.9133, allocations: 179 kB / 0.8258 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006079/0.914, allocations: 315.5 kB / 0.8261 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.9142, allocations: 153.7 kB / 0.8263 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.43e-05/0.9143, allocations: 12.81 kB / 0.8263 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.9153, allocations: 0.6965 MB / 0.827 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.9155, allocations: 83.08 kB / 0.827 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.9156, allocations: 118 kB / 0.8272 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007442/0.9163, allocations: 0.4993 MB / 0.8276 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.9164, allocations: 6.75 kB / 0.8276 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.883e-06/0.9164, allocations: 0 / 0.8276 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.9164, allocations: 4 kB / 0.8277 GB, free: 0.9414 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008745/0.9173, allocations: 0.5921 MB / 0.8282 GB, free: 400 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.9173, allocations: 10.98 kB / 0.8282 GB, free: 400 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003484/0.9177, allocations: 56.12 kB / 0.8283 GB, free: 372 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000493/0.9182, allocations: 307.2 kB / 0.8286 GB, free: 72 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.9182, allocations: 10.09 kB / 0.8286 GB, free: 68 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.9183, allocations: 16.22 kB / 0.8286 GB, free: 64 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004175/0.9187, allocations: 194.7 kB / 0.8288 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.9187, allocations: 0 / 0.8288 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.9187, allocations: 10.09 kB / 0.8288 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.9187, allocations: 2.344 kB / 0.8288 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.9191, allocations: 126.2 kB / 0.8289 GB, free: 15.86 MB / 0.6075 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.001095/0.9202, allocations: 0.7925 MB / 0.8297 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.9204, allocations: 86.44 kB / 0.8298 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.9206, allocations: 73.44 kB / 0.8299 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000273/0.9209, allocations: 186.4 kB / 0.83 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.9209, allocations: 37.31 kB / 0.8301 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.9209, allocations: 0 / 0.8301 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006724/0.9216, allocations: 218.7 kB / 0.8303 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.9217, allocations: 57.69 kB / 0.8303 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.9219, allocations: 270 kB / 0.8306 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.922, allocations: 25.7 kB / 0.8306 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.9221, allocations: 144.2 kB / 0.8308 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.9221, allocations: 36.41 kB / 0.8308 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.944e-05/0.9222, allocations: 37.86 kB / 0.8308 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.9223, allocations: 332.6 kB / 0.8311 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.9225, allocations: 51.42 kB / 0.8312 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.9227, allocations: 93.92 kB / 0.8313 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.9229, allocations: 124 kB / 0.8314 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9229, allocations: 0 / 0.8314 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003222/0.9232, allocations: 157.4 kB / 0.8315 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.9233, allocations: 8.656 kB / 0.8316 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.9233, allocations: 2.656 kB / 0.8316 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.9233, allocations: 0 / 0.8316 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.9234, allocations: 25.77 kB / 0.8316 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.9234, allocations: 10.23 kB / 0.8316 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.9236, allocations: 21.97 kB / 0.8316 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.9236, allocations: 4.531 kB / 0.8316 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00018/0.9238, allocations: 148.9 kB / 0.8318 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001534/0.924, allocations: 86.27 kB / 0.8318 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002296/0.9242, allocations: 125.5 kB / 0.832 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.41e-07/0.9242, allocations: 2.125 kB / 0.832 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002909/0.9245, allocations: 151.2 kB / 0.8321 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.575e-06/0.9245, allocations: 7.312 kB / 0.8321 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-06/0.9246, allocations: 4.031 kB / 0.8321 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.9246, allocations: 6.719 kB / 0.8321 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.961e-05/0.9247, allocations: 23.05 kB / 0.8321 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.9247, allocations: 1.812 kB / 0.8322 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.9248, allocations: 20.19 kB / 0.8322 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.9249, allocations: 4.438 kB / 0.8322 GB, free: 13.18 MB / 0.6075 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 9.734e-05/0.925, allocations: 183.2 kB / 0.8323 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.925, allocations: 36.59 kB / 0.8324 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003519/0.9254, allocations: 158.9 kB / 0.8325 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.9254, allocations: 2.375 kB / 0.8325 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.9254, allocations: 1.125 kB / 0.8325 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.9254, allocations: 0 / 0.8325 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008939/0.9263, allocations: 0.5928 MB / 0.8331 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.9263, allocations: 7.484 kB / 0.8331 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.9264, allocations: 21.42 kB / 0.8331 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.9264, allocations: 6.688 kB / 0.8332 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.9265, allocations: 6.281 kB / 0.8332 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.9265, allocations: 2.875 kB / 0.8332 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.657e-06/0.9265, allocations: 11.41 kB / 0.8332 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.9269, allocations: 291.3 kB / 0.8334 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.927, allocations: 121.6 kB / 0.8336 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.9271, allocations: 2.531 kB / 0.8336 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.9272, allocations: 11.64 kB / 0.8336 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/0.9273, allocations: 21.2 kB / 0.8336 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.9273, allocations: 5 kB / 0.8336 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002046/0.9275, allocations: 194 kB / 0.8338 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9275, allocations: 0 / 0.8338 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004781/0.928, allocations: 98.56 kB / 0.8339 GB, free: 11.77 MB / 0.6075 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.0004258/0.9285, allocations: 165.3 kB / 0.834 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000466/0.9289, allocations: 161.7 kB / 0.8342 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.9289, allocations: 0 / 0.8342 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.9291, allocations: 67.02 kB / 0.8343 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006904/0.9298, allocations: 123.3 kB / 0.8344 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007449/0.9306, allocations: 433.7 kB / 0.8348 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.931, allocations: 0.7579 MB / 0.8355 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002043/0.9312, allocations: 69.75 kB / 0.8356 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.9312, allocations: 22.31 kB / 0.8356 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.9312, allocations: 0 / 0.8356 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of Templates: time 0.009829/0.9411, allocations: 4.398 MB / 0.8399 GB, free: 8.176 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)