Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 110 kB / 16.42 MB, free: 6.523 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.001642/0.001642, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.322/1.322, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7698/0.7698, allocations: 132.2 MB / 423.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.2 kB / 0.582 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1302, allocations: 80.2 MB / 0.6603 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.5792/0.7095, allocations: 305.1 MB / 0.9583 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03126/0.7408, allocations: 25.79 MB / 0.9835 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003645/0.7445, allocations: 127.2 kB / 0.9836 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004943/0.7495, allocations: 1.86 MB / 0.9854 GB, free: 8.559 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01393/0.7634, allocations: 6.18 MB / 0.9915 GB, free: 2.355 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006225/0.7697, allocations: 2.638 MB / 0.994 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01036/0.78, allocations: 8.912 MB / 1.003 GB, free: 6.801 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004685/0.7847, allocations: 3.632 MB / 1.006 GB, free: 3.09 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008684/0.7934, allocations: 4.29 MB / 1.01 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00482/0.7983, allocations: 2.974 MB / 1.013 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0009204/0.7992, allocations: 360 kB / 1.014 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009011/0.8082, allocations: 4.614 MB / 1.018 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002215/0.8105, allocations: 1.644 MB / 1.02 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003933/0.8144, allocations: 2.135 MB / 1.022 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01103/0.8254, allocations: 6.79 MB / 1.029 GB, free: 12.28 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.8255, allocations: 7.938 kB / 1.029 GB, free: 12.27 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.002e-06/0.8255, allocations: 0 / 1.029 GB, free: 12.27 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001665/0.8257, allocations: 4 kB / 1.029 GB, free: 12.27 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.007225/0.8329, allocations: 4.291 MB / 1.033 GB, free: 7.902 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.8329, allocations: 12.03 kB / 1.033 GB, free: 7.891 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00536/0.8383, allocations: 0.946 MB / 1.034 GB, free: 6.941 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003665/0.842, allocations: 2.422 MB / 1.036 GB, free: 4.445 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002166/0.8422, allocations: 281.2 kB / 1.036 GB, free: 4.156 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003692/0.8426, allocations: 291.9 kB / 1.037 GB, free: 3.871 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004815/0.8474, allocations: 3.352 MB / 1.04 GB, free: 444 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.411e-05/0.8475, allocations: 0 / 1.04 GB, free: 444 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002233/0.8477, allocations: 112 kB / 1.04 GB, free: 332 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/0.8478, allocations: 113.3 kB / 1.04 GB, free: 216 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004115/0.8519, allocations: 2.788 MB / 1.043 GB, free: 13.41 MB / 0.8106 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.3014/1.153, allocations: 13.26 MB / 1.056 GB, free: 312.1 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/1.156, allocations: 1.817 MB / 1.058 GB, free: 312.1 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/1.158, allocations: 1.106 MB / 1.059 GB, free: 312.1 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004317/1.158, allocations: 327.9 kB / 1.059 GB, free: 311.8 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/1.158, allocations: 65.38 kB / 1.059 GB, free: 311.8 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=182): time 3.857e-06/1.158, allocations: 2.312 kB / 1.059 GB, free: 311.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=182): time 0.005221/1.163, allocations: 2.729 MB / 1.062 GB, free: 311.1 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/1.164, allocations: 71.75 kB / 1.062 GB, free: 311.1 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003065/1.167, allocations: 1.998 MB / 1.064 GB, free: 310.4 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001623/1.167, allocations: 68.02 kB / 1.064 GB, free: 310.3 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008547/1.168, allocations: 1.436 MB / 1.065 GB, free: 309.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004913/1.168, allocations: 0.6725 MB / 1.066 GB, free: 309.1 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005217/1.169, allocations: 391.3 kB / 1.066 GB, free: 308.9 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 3.923e-05/1.169, allocations: 301.8 kB / 1.066 GB, free: 308.6 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/1.17, allocations: 0.8087 MB / 1.067 GB, free: 308.3 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/1.172, allocations: 1.435 MB / 1.069 GB, free: 307.3 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002873/1.174, allocations: 2.249 MB / 1.071 GB, free: 306 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/1.174, allocations: 4.219 kB / 1.071 GB, free: 306 MB / 0.8106 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004335/1.179, allocations: 2.508 MB / 1.073 GB, free: 305 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/1.179, allocations: 15.72 kB / 1.073 GB, free: 305 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/1.179, allocations: 13.09 kB / 1.073 GB, free: 305 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.791e-05/1.179, allocations: 24.09 kB / 1.073 GB, free: 305 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00249/1.181, allocations: 0.5544 MB / 1.074 GB, free: 304.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/1.183, allocations: 4.148 MB / 1.078 GB, free: 300.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/1.185, allocations: 225.3 kB / 1.078 GB, free: 300.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/1.185, allocations: 91.28 kB / 1.078 GB, free: 300.7 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0023/1.188, allocations: 1.461 MB / 1.08 GB, free: 300.1 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001525/1.189, allocations: 1.429 MB / 1.081 GB, free: 299.1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002765/1.192, allocations: 2.229 MB / 1.083 GB, free: 297.8 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.123e-05/1.192, allocations: 11.16 kB / 1.083 GB, free: 297.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.003712/1.196, allocations: 2.486 MB / 1.086 GB, free: 296.8 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/1.196, allocations: 7.938 kB / 1.086 GB, free: 296.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/1.196, allocations: 15.88 kB / 1.086 GB, free: 296.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/1.196, allocations: 19.75 kB / 1.086 GB, free: 296.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/1.197, allocations: 475.5 kB / 1.086 GB, free: 296.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-05/1.197, allocations: 37.2 kB / 1.086 GB, free: 296.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002283/1.2, allocations: 194.2 kB / 1.086 GB, free: 296.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/1.2, allocations: 88.94 kB / 1.086 GB, free: 296.6 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (257): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005056/1.2, allocations: 319 kB / 1.087 GB, free: 296.4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003766/1.201, allocations: 281.6 kB / 1.087 GB, free: 296.2 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/1.204, allocations: 2.098 MB / 1.089 GB, free: 295.4 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002084/1.206, allocations: 1.892 MB / 1.091 GB, free: 294.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/1.206, allocations: 0 / 1.091 GB, free: 294.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008342/1.207, allocations: 0.5663 MB / 1.092 GB, free: 294.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002889/1.207, allocations: 35.91 kB / 1.092 GB, free: 294.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/1.208, allocations: 84.12 kB / 1.092 GB, free: 294.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/1.209, allocations: 109 kB / 1.092 GB, free: 294.1 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004012/1.213, allocations: 2.326 MB / 1.094 GB, free: 293.2 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003696/1.216, allocations: 3.438 MB / 1.097 GB, free: 291.7 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009494/1.217, allocations: 0.9144 MB / 1.098 GB, free: 291.3 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001548/1.219, allocations: 1.331 MB / 1.1 GB, free: 290.6 MB / 0.8106 GB Notification: Performance of Backend: time 3.21e-07/1.219, allocations: 3.75 kB / 1.1 GB, free: 290.6 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.006523/1.225, allocations: 3.542 MB / 1.103 GB, free: 289.2 MB / 0.8106 GB Notification: Performance of SimCode: time 0.009482/1.235, allocations: 7.549 MB / 1.11 GB, free: 281.8 MB / 0.8106 GB Notification: Performance of Templates: time 0.0828/1.318, allocations: 69.48 MB / 1.178 GB, free: 212.9 MB / 0.8106 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)