Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001469/0.001469, allocations: 115 kB / 17.09 MB, free: 5.953 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.001579/0.001579, allocations: 198.8 kB / 18.03 MB, free: 5.035 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.317/1.317, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7655/0.7655, allocations: 126.1 MB / 417.9 MB, free: 12.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 59.47 kB / 0.5737 GB, free: 27.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.132, allocations: 78.71 MB / 0.6506 GB, free: 4.082 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.6046/0.7366, allocations: 305.1 MB / 0.9486 GB, free: 3.09 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03461/0.7712, allocations: 25.84 MB / 0.9738 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004084/0.7754, allocations: 127.2 kB / 0.9739 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00497/0.7804, allocations: 1.868 MB / 0.9757 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01679/0.7972, allocations: 6.184 MB / 0.9818 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006945/0.8042, allocations: 2.64 MB / 0.9844 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01217/0.8163, allocations: 8.92 MB / 0.9931 GB, free: 5.41 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0055/0.8219, allocations: 3.614 MB / 0.9966 GB, free: 1.719 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01016/0.832, allocations: 4.27 MB / 1.001 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005468/0.8375, allocations: 2.971 MB / 1.004 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001212/0.8387, allocations: 360 kB / 1.004 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01001/0.8488, allocations: 4.622 MB / 1.009 GB, free: 5.527 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002698/0.8515, allocations: 1.656 MB / 1.01 GB, free: 3.867 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.005014/0.8565, allocations: 2.123 MB / 1.012 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01346/0.87, allocations: 6.77 MB / 1.019 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.87, allocations: 0 / 1.019 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.096e-06/0.87, allocations: 0 / 1.019 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001965/0.8702, allocations: 3.938 kB / 1.019 GB, free: 10.94 MB / 0.7794 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.00871/0.879, allocations: 4.291 MB / 1.023 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.879, allocations: 11.97 kB / 1.023 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006071/0.8851, allocations: 0.9499 MB / 1.024 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004689/0.8898, allocations: 2.422 MB / 1.026 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002238/0.8901, allocations: 273.3 kB / 1.027 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004309/0.8905, allocations: 291.9 kB / 1.027 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005355/0.8959, allocations: 3.359 MB / 1.03 GB, free: 15.1 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.551e-05/0.8959, allocations: 0 / 1.03 GB, free: 15.1 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002367/0.8962, allocations: 120 kB / 1.03 GB, free: 14.98 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.936e-05/0.8963, allocations: 101.3 kB / 1.03 GB, free: 14.88 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004208/0.9005, allocations: 2.804 MB / 1.033 GB, free: 12.06 MB / 0.795 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.01483/0.9154, allocations: 13.3 MB / 1.046 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/0.9179, allocations: 1.691 MB / 1.048 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.9194, allocations: 1.102 MB / 1.049 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004647/0.9198, allocations: 329.2 kB / 1.049 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/0.9199, allocations: 56.56 kB / 1.049 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=182): time 3.727e-06/0.9199, allocations: 4 kB / 1.049 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=182): time 0.005223/0.9252, allocations: 2.748 MB / 1.052 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.9252, allocations: 69.41 kB / 1.052 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002478/0.9277, allocations: 2.005 MB / 1.054 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001727/0.9279, allocations: 65.7 kB / 1.054 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009705/0.9289, allocations: 1.433 MB / 1.055 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006139/0.9295, allocations: 0.6661 MB / 1.056 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005447/0.93, allocations: 391.4 kB / 1.056 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.9301, allocations: 301.1 kB / 1.057 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.9314, allocations: 0.8091 MB / 1.057 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.933, allocations: 1.413 MB / 1.059 GB, free: 128 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2696/1.203, allocations: 2.256 MB / 1.061 GB, free: 321.6 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/1.203, allocations: 4.906 kB / 1.061 GB, free: 321.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.003846/1.206, allocations: 2.511 MB / 1.064 GB, free: 321 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/1.207, allocations: 14.5 kB / 1.064 GB, free: 321 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/1.207, allocations: 16.59 kB / 1.064 GB, free: 321 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.715e-05/1.207, allocations: 23.16 kB / 1.064 GB, free: 321 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002504/1.209, allocations: 0.5506 MB / 1.064 GB, free: 320.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/1.21, allocations: 4.15 MB / 1.068 GB, free: 316.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002453/1.213, allocations: 225.7 kB / 1.068 GB, free: 316.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/1.213, allocations: 88.19 kB / 1.068 GB, free: 316.7 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002576/1.216, allocations: 1.462 MB / 1.07 GB, free: 316.1 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001708/1.217, allocations: 1.406 MB / 1.071 GB, free: 315.1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002754/1.22, allocations: 2.237 MB / 1.073 GB, free: 313.9 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.836e-06/1.22, allocations: 3.5 kB / 1.073 GB, free: 313.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.004182/1.224, allocations: 2.495 MB / 1.076 GB, free: 313 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.224, allocations: 15.69 kB / 1.076 GB, free: 313 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/1.224, allocations: 12.94 kB / 1.076 GB, free: 313 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.898e-05/1.224, allocations: 26.03 kB / 1.076 GB, free: 313 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002037/1.226, allocations: 472.6 kB / 1.076 GB, free: 313 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.686e-05/1.227, allocations: 33.88 kB / 1.076 GB, free: 312.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002354/1.229, allocations: 190.7 kB / 1.077 GB, free: 312.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/1.229, allocations: 89.78 kB / 1.077 GB, free: 312.9 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.0004836/1.23, allocations: 313.5 kB / 1.077 GB, free: 312.6 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003974/1.23, allocations: 286.2 kB / 1.077 GB, free: 312.5 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003196/1.233, allocations: 2.112 MB / 1.079 GB, free: 311.7 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002478/1.236, allocations: 1.885 MB / 1.081 GB, free: 310.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.236, allocations: 0 / 1.081 GB, free: 310.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009672/1.237, allocations: 0.5675 MB / 1.082 GB, free: 310.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002923/1.237, allocations: 40.08 kB / 1.082 GB, free: 310.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/1.238, allocations: 81.77 kB / 1.082 GB, free: 310.4 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/1.239, allocations: 107.5 kB / 1.082 GB, free: 310.4 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004431/1.243, allocations: 2.359 MB / 1.084 GB, free: 309.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003989/1.247, allocations: 3.313 MB / 1.087 GB, free: 308.1 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001005/1.248, allocations: 0.9205 MB / 1.088 GB, free: 307.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001362/1.25, allocations: 1.335 MB / 1.09 GB, free: 307.3 MB / 0.8106 GB Notification: Performance of Backend: time 4.3e-07/1.25, allocations: 4.594 kB / 1.09 GB, free: 307.3 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.006362/1.256, allocations: 3.565 MB / 1.093 GB, free: 306.3 MB / 0.8106 GB Notification: Performance of SimCode: time 0.009224/1.265, allocations: 7.548 MB / 1.101 GB, free: 302.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.07846/1.344, allocations: 69.25 MB / 1.168 GB, free: 235.2 MB / 0.8106 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)