Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.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.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") translateModel(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 114.3 kB / 16.42 MB, free: 6.473 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.001296/0.001296, allocations: 183.9 kB / 17.35 MB, free: 5.711 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.361/1.361, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7553/0.7553, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 59.56 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1363, allocations: 80.94 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.05957/0.1959, allocations: 66.52 MB / 0.7303 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02081/0.2167, allocations: 16.72 MB / 0.7466 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002277/0.219, allocations: 63.62 kB / 0.7467 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002142/0.2212, allocations: 0.8424 MB / 0.7475 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.349/0.5703, allocations: 2.656 MB / 0.7501 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00472/0.575, allocations: 1.813 MB / 0.7518 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.04906/0.6241, allocations: 35.81 MB / 0.7868 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01969/0.6439, allocations: 15.82 MB / 0.8023 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02657/0.6705, allocations: 11.99 MB / 0.814 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0183/0.6888, allocations: 9.722 MB / 0.8235 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004923/0.6938, allocations: 1.449 MB / 0.8249 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01205/0.7058, allocations: 3.18 MB / 0.828 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.006467/0.7123, allocations: 3.273 MB / 0.8312 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01554/0.7279, allocations: 7.316 MB / 0.8383 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0279/0.7558, allocations: 21.97 MB / 0.8598 GB, free: 6.652 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.7559, allocations: 0 / 0.8598 GB, free: 6.652 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7559, allocations: 4 kB / 0.8598 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0007229/0.7566, allocations: 0 / 0.8598 GB, free: 6.648 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1830 * Number of variables: 1830 Notification: Performance of Generate backend data structure: time 0.03725/0.7939, allocations: 13.13 MB / 0.8726 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.794, allocations: 13.11 kB / 0.8726 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007791/0.8017, allocations: 1.284 MB / 0.8739 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0307/0.8325, allocations: 12.97 MB / 0.8865 GB, free: 11.39 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006056/0.8331, allocations: 0.5254 MB / 0.8871 GB, free: 10.86 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003214/0.8363, allocations: 0.7143 MB / 0.8878 GB, free: 10.15 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03133/0.8677, allocations: 11.21 MB / 0.8987 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004509/0.8682, allocations: 31.77 kB / 0.8987 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002804/0.871, allocations: 303.8 kB / 0.899 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002918/0.8713, allocations: 219.9 kB / 0.8992 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02272/0.8941, allocations: 9.245 MB / 0.9083 GB, free: 4.867 MB / 0.6856 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.08377/0.9779, allocations: 52.12 MB / 0.9592 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009208/0.9871, allocations: 4.861 MB / 0.9639 GB, free: 8.906 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004861/0.992, allocations: 2.829 MB / 0.9667 GB, free: 6.066 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001769/0.9938, allocations: 1.707 MB / 0.9683 GB, free: 4.035 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/0.9939, allocations: 90.27 kB / 0.9684 GB, free: 3.938 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=420): time 8.757e-06/0.9939, allocations: 3.75 kB / 0.9684 GB, free: 3.938 MB / 0.7481 GB Notification: Performance of matching and sorting (n=420): time 0.01689/1.011, allocations: 7.824 MB / 0.9761 GB, free: 12.08 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/1.011, allocations: 94.55 kB / 0.9762 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02144/1.032, allocations: 10.46 MB / 0.9864 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.001054/1.033, allocations: 113.7 kB / 0.9865 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.005262/1.039, allocations: 4.721 MB / 0.9911 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.002682/1.041, allocations: 1.487 MB / 0.9925 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003135/1.045, allocations: 1.103 MB / 0.9936 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001043/1.045, allocations: 310.7 kB / 0.9939 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004712/1.049, allocations: 2.676 MB / 0.9965 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005731/1.055, allocations: 4.195 MB / 1.001 GB, free: 2.297 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/1.066, allocations: 7.413 MB / 1.008 GB, free: 10.24 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.387e-05/1.066, allocations: 12 kB / 1.008 GB, free: 10.23 MB / 0.795 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.016/1.082, allocations: 7.987 MB / 1.016 GB, free: 2.223 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.936e-05/1.082, allocations: 26.19 kB / 1.016 GB, free: 2.199 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001623/1.083, allocations: 75.98 kB / 1.016 GB, free: 2.125 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.99e-05/1.083, allocations: 72.81 kB / 1.016 GB, free: 2.055 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004292/1.087, allocations: 1.205 MB / 1.017 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001351/1.087, allocations: 103.6 kB / 1.017 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00775/1.095, allocations: 0.6973 MB / 1.018 GB, free: 44 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001139/1.096, allocations: 279.9 kB / 1.018 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01188/1.108, allocations: 6.439 MB / 1.024 GB, free: 9.316 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006561/1.115, allocations: 4.192 MB / 1.028 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01194/1.126, allocations: 7.419 MB / 1.036 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.522e-05/1.127, allocations: 12 kB / 1.036 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.01776/1.144, allocations: 7.972 MB / 1.043 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/1.144, allocations: 24 kB / 1.044 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001882/1.145, allocations: 80.84 kB / 1.044 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.449e-05/1.145, allocations: 72 kB / 1.044 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004292/1.149, allocations: 1.205 MB / 1.045 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001235/1.149, allocations: 111.6 kB / 1.045 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006766/1.156, allocations: 0.5818 MB / 1.046 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008068/1.157, allocations: 279.9 kB / 1.046 GB, free: 2.051 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 211 * 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 (674): * Single equations (assignments): 654 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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.001713/1.158, allocations: 0.5025 MB / 1.046 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00316/1.162, allocations: 0.8412 MB / 1.047 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01655/1.178, allocations: 8.915 MB / 1.056 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009797/1.188, allocations: 6.103 MB / 1.062 GB, free: 1.621 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001071/1.188, allocations: 27.97 kB / 1.062 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.6204/1.809, allocations: 2.235 MB / 1.064 GB, free: 309.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002999/1.812, allocations: 120.4 kB / 1.064 GB, free: 309.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006543/1.818, allocations: 332.2 kB / 1.064 GB, free: 309.4 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00166/1.82, allocations: 0.6052 MB / 1.065 GB, free: 309.3 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01528/1.835, allocations: 7.478 MB / 1.072 GB, free: 307.3 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0201/1.855, allocations: 12.1 MB / 1.084 GB, free: 302.8 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004563/1.86, allocations: 3.495 MB / 1.088 GB, free: 301.4 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.01189/1.872, allocations: 7.416 MB / 1.095 GB, free: 298.9 MB / 0.8419 GB Notification: Performance of Backend: time 1.623e-06/1.872, allocations: 0 / 1.095 GB, free: 298.9 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01691/1.889, allocations: 9.427 MB / 1.104 GB, free: 295 MB / 0.8419 GB Notification: Performance of SimCode: time 0.04346/1.932, allocations: 25.55 MB / 1.129 GB, free: 277.9 MB / 0.8419 GB Notification: Performance of Templates: time 0.2517/2.184, allocations: 212.9 MB / 1.337 GB, free: 66.27 MB / 0.8419 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe 2>&1)