Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Fluid.TestComponents.Sources.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources") translateModel(ModelicaTest.Fluid.TestComponents.Sources.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007428/0.0007428, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004472/0.004472, allocations: 168.9 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.337/1.337, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2943/0.2943, allocations: 38.04 MB / 308.8 MB, free: 10.39 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005613/0.0005613, allocations: 12 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1146, allocations: 57.51 MB / 434.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 0.7695/0.8842, allocations: 333 MB / 0.7496 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02386/0.9081, allocations: 20.25 MB / 0.7694 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002346/0.9105, allocations: 66.31 kB / 0.7694 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002809/0.9133, allocations: 0.9277 MB / 0.7703 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01755/0.9309, allocations: 6.097 MB / 0.7763 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.02754/0.9584, allocations: 8.251 MB / 0.7843 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00969/0.9681, allocations: 8.41 MB / 0.7925 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002836/0.971, allocations: 1.639 MB / 0.7941 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01609/0.9871, allocations: 6.126 MB / 0.8001 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004906/0.992, allocations: 2.567 MB / 0.8026 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007991/0.9929, allocations: 128 kB / 0.8028 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03412/1.027, allocations: 17.98 MB / 0.8203 GB, free: 2.316 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001975/1.029, allocations: 1.002 MB / 0.8213 GB, free: 1.332 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001911/1.031, allocations: 1.31 MB / 0.8226 GB, free: 32 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.02853/1.059, allocations: 12.46 MB / 0.8347 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/1.06, allocations: 0 / 0.8347 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.705e-06/1.06, allocations: 0 / 0.8347 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.333e-05/1.06, allocations: 4 kB / 0.8347 GB, free: 4.289 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.01067/1.07, allocations: 4.26 MB / 0.8389 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/1.07, allocations: 12.03 kB / 0.8389 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/1.071, allocations: 273 kB / 0.8392 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/1.074, allocations: 1.374 MB / 0.8405 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/1.074, allocations: 139.6 kB / 0.8407 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002975/1.074, allocations: 181.1 kB / 0.8408 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004593/1.079, allocations: 3.026 MB / 0.8438 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/1.079, allocations: 0 / 0.8438 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002317/1.079, allocations: 78.09 kB / 0.8439 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001882/1.079, allocations: 163.6 kB / 0.844 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005283/1.084, allocations: 3.313 MB / 0.8472 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2127/1.297, allocations: 11.38 MB / 0.8584 GB, free: 235.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003776/1.301, allocations: 2.398 MB / 0.8607 GB, free: 235.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/1.302, allocations: 1.059 MB / 0.8617 GB, free: 235.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002886/1.305, allocations: 4.718 MB / 0.8663 GB, free: 231.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/1.305, allocations: 54.44 kB / 0.8664 GB, free: 231.1 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001185/1.307, allocations: 259.6 kB / 0.8666 GB, free: 231.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=156): time 4.719e-06/1.307, allocations: 1.906 kB / 0.8666 GB, free: 231.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=156): time 0.00598/1.313, allocations: 3.658 MB / 0.8702 GB, free: 230.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/1.313, allocations: 200.2 kB / 0.8704 GB, free: 229.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002014/1.315, allocations: 1.897 MB / 0.8723 GB, free: 229.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001997/1.315, allocations: 65.11 kB / 0.8723 GB, free: 229.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005047/1.315, allocations: 0.9035 MB / 0.8732 GB, free: 228.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003356/1.316, allocations: 0.5371 MB / 0.8737 GB, free: 228 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/1.316, allocations: 166.5 kB / 0.8739 GB, free: 227.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.062e-05/1.316, allocations: 305.1 kB / 0.8742 GB, free: 227.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/1.318, allocations: 1.109 MB / 0.8753 GB, free: 227.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001677/1.319, allocations: 1.539 MB / 0.8768 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003226/1.323, allocations: 2.771 MB / 0.8795 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.978e-06/1.323, allocations: 3.094 kB / 0.8795 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.004815/1.327, allocations: 3.409 MB / 0.8828 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001955/1.328, allocations: 0.5492 MB / 0.8833 GB, free: 222.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/1.328, allocations: 12.25 kB / 0.8834 GB, free: 222.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003426/1.331, allocations: 0.7427 MB / 0.8841 GB, free: 222.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/1.333, allocations: 467.6 kB / 0.8845 GB, free: 222.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/1.334, allocations: 1.643 MB / 0.8861 GB, free: 221.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/1.336, allocations: 141.7 kB / 0.8863 GB, free: 221.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002782/1.336, allocations: 153.5 kB / 0.8864 GB, free: 221.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/1.336, allocations: 3.438 kB / 0.8864 GB, free: 221.4 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004543/1.341, allocations: 3.053 MB / 0.8894 GB, free: 220.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/1.341, allocations: 10.34 kB / 0.8894 GB, free: 220.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/1.342, allocations: 360.6 kB / 0.8897 GB, free: 220.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002087/1.344, allocations: 0.4906 MB / 0.8902 GB, free: 220.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007837/1.345, allocations: 1.348 MB / 0.8915 GB, free: 218.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/1.347, allocations: 126 kB / 0.8917 GB, free: 218.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002648/1.347, allocations: 145.8 kB / 0.8918 GB, free: 218.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 5 (traceSubstance.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance4.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001058/1.348, allocations: 0.6032 MB / 0.8924 GB, free: 218.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003539/1.349, allocations: 214.7 kB / 0.8926 GB, free: 218.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005973/1.355, allocations: 3.789 MB / 0.8963 GB, free: 216.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-05/1.355, allocations: 24.7 kB / 0.8963 GB, free: 216.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.355, allocations: 2.75 kB / 0.8963 GB, free: 216.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.712e-05/1.355, allocations: 7.516 kB / 0.8963 GB, free: 216.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008216/1.363, allocations: 5.571 MB / 0.9018 GB, free: 214.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/1.363, allocations: 4.906 kB / 0.9018 GB, free: 214.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/1.364, allocations: 320.9 kB / 0.9021 GB, free: 214.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003254/1.367, allocations: 0.6857 MB / 0.9028 GB, free: 214.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002064/1.368, allocations: 66.62 kB / 0.9028 GB, free: 214.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/1.369, allocations: 1.639 MB / 0.9044 GB, free: 213.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-06/1.369, allocations: 7.969 kB / 0.9044 GB, free: 213.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004877/1.374, allocations: 2.868 MB / 0.9072 GB, free: 211.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008496/1.375, allocations: 368.3 kB / 0.9076 GB, free: 211.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003316/1.375, allocations: 35.56 kB / 0.9076 GB, free: 211.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/1.377, allocations: 127.7 kB / 0.9077 GB, free: 211.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003003/1.377, allocations: 137.7 kB / 0.9079 GB, free: 211.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003009/1.377, allocations: 137.6 kB / 0.908 GB, free: 211.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002145/1.38, allocations: 1.445 MB / 0.9094 GB, free: 211 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.38, allocations: 0 / 0.9094 GB, free: 211 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006406/1.386, allocations: 2.707 MB / 0.912 GB, free: 210.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (165): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005086/1.391, allocations: 2.546 MB / 0.9145 GB, free: 210.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00657/1.398, allocations: 4.618 MB / 0.919 GB, free: 208.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/1.398, allocations: 5.234 kB / 0.9191 GB, free: 208.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00165/1.399, allocations: 1.221 MB / 0.9202 GB, free: 208 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006835/1.406, allocations: 1.418 MB / 0.9216 GB, free: 207.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00555/1.412, allocations: 4.977 MB / 0.9265 GB, free: 204.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000906/1.413, allocations: 1.618 MB / 0.9281 GB, free: 204.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003983/1.417, allocations: 1.129 MB / 0.9292 GB, free: 203.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000865/1.418, allocations: 289.3 kB / 0.9294 GB, free: 203.8 MB / 0.5762 GB Notification: Performance of SimCode: time 8.01e-07/1.418, allocations: 0 / 0.9294 GB, free: 203.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.1045/1.522, allocations: 93.88 MB / 1.021 GB, free: 111.3 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe 2>&1) Environment - environmentSimulation: