Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.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.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay") translateModel(IDEAS.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005752/0.005752, allocations: 100.6 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.001158/0.001158, allocations: 191.7 kB / 16.67 MB, free: 5.957 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.309/1.309, 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.8202/0.8202, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 65.48 kB / 0.5856 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1602, allocations: 80.93 MB / 0.6646 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.6726/0.8328, allocations: 183.2 MB / 0.8436 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007911/0.8407, allocations: 4.864 MB / 0.8483 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009414/0.8417, allocations: 29.75 kB / 0.8483 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.843, allocations: 452.4 kB / 0.8488 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004328/0.8474, allocations: 1.47 MB / 0.8502 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002509/0.85, allocations: 0.775 MB / 0.851 GB, free: 13 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0026/0.8526, allocations: 1.839 MB / 0.8528 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.8537, allocations: 0.6032 MB / 0.8534 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002386/0.8561, allocations: 0.9061 MB / 0.8542 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001651/0.8577, allocations: 0.5376 MB / 0.8548 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002148/0.858, allocations: 60.44 kB / 0.8548 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003029/0.861, allocations: 1.424 MB / 0.8562 GB, free: 9.898 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003468/0.8613, allocations: 266 kB / 0.8565 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000555/0.8619, allocations: 401.8 kB / 0.8568 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002124/0.864, allocations: 1.424 MB / 0.8582 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.8641, allocations: 0 / 0.8582 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8641, allocations: 2.156 kB / 0.8582 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.8641, allocations: 0 / 0.8582 GB, free: 8.574 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001719/0.8658, allocations: 1.104 MB / 0.8593 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.8659, allocations: 10.64 kB / 0.8593 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.8672, allocations: 214.3 kB / 0.8595 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.8682, allocations: 0.6122 MB / 0.8601 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.8683, allocations: 37 kB / 0.8602 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.881e-05/0.8684, allocations: 44 kB / 0.8602 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008588/0.8692, allocations: 0.4983 MB / 0.8607 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.8693, allocations: 3.938 kB / 0.8607 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.105e-05/0.8693, allocations: 21.62 kB / 0.8607 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.155e-05/0.8694, allocations: 24.88 kB / 0.8607 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000754/0.8701, allocations: 427.7 kB / 0.8611 GB, free: 5.852 MB / 0.6231 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.002572/0.8727, allocations: 2.006 MB / 0.8631 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005777/0.8733, allocations: 339.6 kB / 0.8634 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/0.8736, allocations: 213.3 kB / 0.8636 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003066/0.874, allocations: 190.5 kB / 0.8638 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.874, allocations: 38.84 kB / 0.8639 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.964e-06/0.874, allocations: 3.938 kB / 0.8639 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.001229/0.8752, allocations: 0.5371 MB / 0.8644 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.8753, allocations: 55.41 kB / 0.8644 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005589/0.8758, allocations: 0.5107 MB / 0.8649 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/0.8759, allocations: 37.7 kB / 0.865 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.8761, allocations: 300.2 kB / 0.8653 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.8762, allocations: 122.3 kB / 0.8654 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.8764, allocations: 66.03 kB / 0.8654 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.8765, allocations: 362.8 kB / 0.8658 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/0.8768, allocations: 142.1 kB / 0.8659 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.8772, allocations: 224.5 kB / 0.8661 GB, free: 444 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005649/0.8777, allocations: 339.6 kB / 0.8665 GB, free: 92 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8777, allocations: 4 kB / 0.8665 GB, free: 88 kB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007178/0.8785, allocations: 424.5 kB / 0.8669 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.8785, allocations: 13.66 kB / 0.8669 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.8785, allocations: 0 / 0.8669 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.8785, allocations: 11.75 kB / 0.8669 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.8789, allocations: 67.91 kB / 0.867 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.8789, allocations: 7.984 kB / 0.867 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004193/0.8793, allocations: 39.77 kB / 0.867 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.8794, allocations: 16 kB / 0.867 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004324/0.8798, allocations: 308 kB / 0.8673 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004/0.8802, allocations: 220.2 kB / 0.8675 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005557/0.8808, allocations: 327.1 kB / 0.8678 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.312e-06/0.8808, allocations: 0 / 0.8678 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007004/0.8815, allocations: 428.8 kB / 0.8682 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/0.8815, allocations: 4 kB / 0.8682 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-06/0.8815, allocations: 0 / 0.8682 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.198e-06/0.8816, allocations: 4 kB / 0.8682 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.8819, allocations: 79.83 kB / 0.8683 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.257e-06/0.8819, allocations: 0 / 0.8683 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004058/0.8823, allocations: 31.77 kB / 0.8684 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.8823, allocations: 16 kB / 0.8684 GB, free: 14.08 MB / 0.6387 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 (39): * Single equations (assignments): 39 * 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.0001333/0.8825, allocations: 204.2 kB / 0.8686 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.8826, allocations: 59.34 kB / 0.8686 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007928/0.8834, allocations: 422.2 kB / 0.869 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.8834, allocations: 4 kB / 0.869 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.8834, allocations: 3.984 kB / 0.869 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006323/0.8841, allocations: 436.5 kB / 0.8694 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.8859, allocations: 1.175 MB / 0.8706 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.886, allocations: 0 / 0.8706 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004138/0.8864, allocations: 87.89 kB / 0.8707 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.8864, allocations: 4 kB / 0.8707 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/0.8864, allocations: 11.98 kB / 0.8707 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.8864, allocations: 4 kB / 0.8707 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.8865, allocations: 7.922 kB / 0.8707 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.8876, allocations: 0.7184 MB / 0.8714 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.8879, allocations: 184.3 kB / 0.8716 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.072e-05/0.8879, allocations: 11.94 kB / 0.8716 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.8884, allocations: 23.97 kB / 0.8716 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.948e-05/0.8885, allocations: 31.84 kB / 0.8716 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.8885, allocations: 12.88 kB / 0.8717 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004121/0.8889, allocations: 366.8 kB / 0.872 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3e-07/0.8889, allocations: 0 / 0.872 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00088/0.8898, allocations: 319.3 kB / 0.8723 GB, free: 9.867 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * 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 (33): * Single equations (assignments): 33 * 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.0004827/0.8903, allocations: 191.6 kB / 0.8725 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001046/0.8914, allocations: 0.515 MB / 0.873 GB, free: 9.164 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.8914, allocations: 384 / 0.873 GB, free: 9.164 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003396/0.8917, allocations: 183.7 kB / 0.8732 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.8933, allocations: 352.1 kB / 0.8735 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.8953, allocations: 1.237 MB / 0.8747 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005608/0.8959, allocations: 0.9373 MB / 0.8756 GB, free: 6.402 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006078/0.8965, allocations: 184.8 kB / 0.8758 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.8967, allocations: 47.44 kB / 0.8759 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of SimCode: time 4.91e-07/0.8967, allocations: 0 / 0.8759 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of Templates: time 0.02216/0.9189, allocations: 11.8 MB / 0.8874 GB, free: 10.53 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.sim & ./IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1)