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.001556/0.001556, allocations: 107.9 kB / 16.27 MB, free: 6.004 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.001806/0.001806, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.338/1.338, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.815/0.815, allocations: 135.1 MB / 426.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 55.91 kB / 0.506 GB, free: 8.387 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3768, allocations: 80.91 MB / 0.585 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.1586/0.5355, allocations: 161.5 MB / 0.7427 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002884/0.5384, allocations: 1.705 MB / 0.7444 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000319/0.5387, allocations: 11.88 kB / 0.7444 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005877/0.5394, allocations: 159 kB / 0.7446 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.5407, allocations: 0.5056 MB / 0.7451 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.5417, allocations: 422.7 kB / 0.7455 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007427/0.5425, allocations: 0.5693 MB / 0.746 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003801/0.5429, allocations: 172.5 kB / 0.7462 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007127/0.5436, allocations: 322.7 kB / 0.7465 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.5439, allocations: 151.3 kB / 0.7466 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.655e-05/0.5439, allocations: 15.94 kB / 0.7466 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.5451, allocations: 0.686 MB / 0.7473 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.5453, allocations: 79.77 kB / 0.7474 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.5454, allocations: 119.4 kB / 0.7475 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007137/0.5461, allocations: 0.4908 MB / 0.748 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.5461, allocations: 3.938 kB / 0.748 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5461, allocations: 0 / 0.748 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.5462, allocations: 4 kB / 0.748 GB, free: 3.297 MB / 0.5762 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.0007915/0.5469, allocations: 0.5839 MB / 0.7486 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.547, allocations: 9.109 kB / 0.7486 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003449/0.5473, allocations: 55.53 kB / 0.7486 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.5477, allocations: 289.3 kB / 0.7489 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.5477, allocations: 12 kB / 0.7489 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.5478, allocations: 16 kB / 0.7489 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/0.5481, allocations: 201.4 kB / 0.7491 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.5482, allocations: 0 / 0.7491 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.5482, allocations: 7.938 kB / 0.7491 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.5482, allocations: 4 kB / 0.7491 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003101/0.5485, allocations: 140.6 kB / 0.7493 GB, free: 1.891 MB / 0.5762 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.0009912/0.5495, allocations: 0.777 MB / 0.75 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.5498, allocations: 86.41 kB / 0.7501 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.5499, allocations: 72.88 kB / 0.7502 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003363/0.5503, allocations: 198.2 kB / 0.7504 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.381e-05/0.5503, allocations: 34.5 kB / 0.7504 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.5503, allocations: 0 / 0.7504 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006773/0.551, allocations: 217.2 kB / 0.7506 GB, free: 392 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.5511, allocations: 59.39 kB / 0.7507 GB, free: 320 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.5513, allocations: 267 kB / 0.7509 GB, free: 40 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.5514, allocations: 29.7 kB / 0.7509 GB, free: 4 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.2934/0.8448, allocations: 138.5 kB / 0.7511 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.138e-05/0.8449, allocations: 33.5 kB / 0.7511 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.913e-05/0.845, allocations: 29.86 kB / 0.7511 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.864e-05/0.8451, allocations: 333 kB / 0.7515 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.8453, allocations: 45.58 kB / 0.7515 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.8455, allocations: 95.59 kB / 0.7516 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.8458, allocations: 123.5 kB / 0.7517 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.8458, allocations: 0.6875 kB / 0.7517 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004139/0.8462, allocations: 157.9 kB / 0.7519 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.8462, allocations: 6.719 kB / 0.7519 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.8462, allocations: 1.625 kB / 0.7519 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.8463, allocations: 2.516 kB / 0.7519 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.8464, allocations: 27.27 kB / 0.7519 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.8464, allocations: 7.844 kB / 0.7519 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.8466, allocations: 19.25 kB / 0.7519 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.8467, allocations: 5 kB / 0.7519 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001992/0.8469, allocations: 148.5 kB / 0.7521 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001577/0.847, allocations: 92.77 kB / 0.7522 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002489/0.8473, allocations: 124.2 kB / 0.7523 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.803e-06/0.8473, allocations: 0.9062 kB / 0.7523 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003381/0.8476, allocations: 155.9 kB / 0.7524 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.8477, allocations: 6.875 kB / 0.7524 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.8477, allocations: 1.172 kB / 0.7524 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.477e-06/0.8477, allocations: 1.906 kB / 0.7524 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.8478, allocations: 25.05 kB / 0.7525 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.8478, allocations: 7.359 kB / 0.7525 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.848, allocations: 14.42 kB / 0.7525 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.848, allocations: 13.48 kB / 0.7525 GB, free: 166.5 MB / 0.5762 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.255e-05/0.8481, allocations: 184.6 kB / 0.7527 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.8482, allocations: 27.91 kB / 0.7527 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/0.8485, allocations: 159.2 kB / 0.7528 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.8486, allocations: 6.156 kB / 0.7528 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.8486, allocations: 1.062 kB / 0.7528 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.8486, allocations: 2.328 kB / 0.7529 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008715/0.8494, allocations: 0.5879 MB / 0.7534 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.8495, allocations: 2.312 kB / 0.7534 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.8496, allocations: 29.77 kB / 0.7535 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.8496, allocations: 2.844 kB / 0.7535 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.8496, allocations: 6.625 kB / 0.7535 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.8496, allocations: 3.266 kB / 0.7535 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.8497, allocations: 4.422 kB / 0.7535 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004504/0.8501, allocations: 299.5 kB / 0.7538 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.8502, allocations: 112.6 kB / 0.7539 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.8503, allocations: 4.531 kB / 0.7539 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.8505, allocations: 15.67 kB / 0.7539 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.02e-05/0.8506, allocations: 15.31 kB / 0.7539 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.8506, allocations: 9.578 kB / 0.7539 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000231/0.8508, allocations: 192.3 kB / 0.7541 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8508, allocations: 0 / 0.7541 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000533/0.8514, allocations: 95.91 kB / 0.7542 GB, free: 165.3 MB / 0.5762 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.0005026/0.8519, allocations: 177.3 kB / 0.7544 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000567/0.8525, allocations: 160.1 kB / 0.7545 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.8525, allocations: 3.422 kB / 0.7545 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.8526, allocations: 66.66 kB / 0.7546 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008086/0.8535, allocations: 123.4 kB / 0.7547 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008379/0.8543, allocations: 467.3 kB / 0.7551 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.8546, allocations: 0.7544 MB / 0.7559 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.098e-05/0.8546, allocations: 20.66 kB / 0.7559 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.8546, allocations: 0 / 0.7559 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.007/0.8616, allocations: 3.706 MB / 0.7595 GB, free: 162.7 MB / 0.5762 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)