Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources") translateModel(ModelicaTest.Fluid.TestComponents.Sources.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0008492/0.0008493, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007929/0.007929, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.4 MB / 222.5 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4083/0.4083, allocations: 40 MB / 310.7 MB, free: 9.527 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.2. 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.0005548/0.0005548, allocations: 12 kB / 379.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1319, allocations: 57.96 MB / 437.4 MB, free: 1.898 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 0.8766/1.009, allocations: 333 MB / 0.7524 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02632/1.035, allocations: 20.24 MB / 0.7721 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002796/1.038, allocations: 69.88 kB / 0.7722 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003306/1.041, allocations: 0.9285 MB / 0.7731 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01959/1.061, allocations: 6.1 MB / 0.779 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.024/1.085, allocations: 8.231 MB / 0.7871 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009829/1.095, allocations: 8.42 MB / 0.7953 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003067/1.098, allocations: 1.638 MB / 0.7969 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01471/1.112, allocations: 6.12 MB / 0.8029 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004642/1.117, allocations: 2.564 MB / 0.8054 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000691/1.118, allocations: 128 kB / 0.8055 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03323/1.151, allocations: 17.98 MB / 0.8231 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002361/1.153, allocations: 0.9945 MB / 0.824 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003654/1.157, allocations: 1.312 MB / 0.8253 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.03374/1.191, allocations: 12.47 MB / 0.8375 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.191, allocations: 0 / 0.8375 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.084e-06/1.191, allocations: 0 / 0.8375 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001266/1.191, allocations: 4 kB / 0.8375 GB, free: 1.898 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.01128/1.202, allocations: 4.245 MB / 0.8417 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/1.202, allocations: 12.03 kB / 0.8417 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/1.204, allocations: 285 kB / 0.8419 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/1.206, allocations: 1.365 MB / 0.8433 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/1.206, allocations: 146.7 kB / 0.8434 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005017/1.207, allocations: 179 kB / 0.8436 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005696/1.213, allocations: 3.024 MB / 0.8465 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.333e-05/1.213, allocations: 0 / 0.8465 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002957/1.213, allocations: 82.62 kB / 0.8466 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002028/1.213, allocations: 171.4 kB / 0.8468 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006048/1.219, allocations: 3.305 MB / 0.85 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.374/1.593, allocations: 11.38 MB / 0.8611 GB, free: 42 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00466/1.598, allocations: 2.404 MB / 0.8635 GB, free: 41.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001951/1.6, allocations: 1.049 MB / 0.8645 GB, free: 41.96 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003516/1.604, allocations: 4.714 MB / 0.8691 GB, free: 37.27 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.649e-05/1.604, allocations: 66.31 kB / 0.8692 GB, free: 37.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001623/1.605, allocations: 259.7 kB / 0.8694 GB, free: 37.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=156): time 9.197e-06/1.605, allocations: 1.094 kB / 0.8694 GB, free: 37.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=156): time 0.008043/1.613, allocations: 3.644 MB / 0.873 GB, free: 36.79 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/1.614, allocations: 200.4 kB / 0.8732 GB, free: 36.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003252/1.617, allocations: 1.912 MB / 0.875 GB, free: 36.33 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004797/1.617, allocations: 61.08 kB / 0.8751 GB, free: 36.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007004/1.618, allocations: 0.9041 MB / 0.876 GB, free: 35.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005971/1.619, allocations: 0.5326 MB / 0.8765 GB, free: 35.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003066/1.619, allocations: 164.2 kB / 0.8766 GB, free: 35.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.949e-05/1.619, allocations: 305.9 kB / 0.8769 GB, free: 35.29 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002374/1.621, allocations: 1.115 MB / 0.878 GB, free: 35.28 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002746/1.624, allocations: 1.533 MB / 0.8795 GB, free: 34.85 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005069/1.629, allocations: 2.773 MB / 0.8822 GB, free: 34.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.784e-05/1.629, allocations: 3.188 kB / 0.8822 GB, free: 34.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.007481/1.637, allocations: 3.411 MB / 0.8856 GB, free: 33.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002664/1.637, allocations: 0.5466 MB / 0.8861 GB, free: 33.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/1.637, allocations: 12.48 kB / 0.8861 GB, free: 33.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003885/1.641, allocations: 0.7555 MB / 0.8868 GB, free: 33.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002095/1.643, allocations: 462.6 kB / 0.8873 GB, free: 33.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/1.645, allocations: 1.647 MB / 0.8889 GB, free: 32.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/1.647, allocations: 146.3 kB / 0.889 GB, free: 32.24 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004686/1.648, allocations: 151.4 kB / 0.8892 GB, free: 32.24 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/1.648, allocations: 3.406 kB / 0.8892 GB, free: 32.24 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005442/1.653, allocations: 3.047 MB / 0.8922 GB, free: 32.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.855e-05/1.653, allocations: 11.38 kB / 0.8922 GB, free: 32.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001587/1.655, allocations: 354.5 kB / 0.8925 GB, free: 31.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002482/1.657, allocations: 0.4975 MB / 0.893 GB, free: 31.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008721/1.658, allocations: 1.336 MB / 0.8943 GB, free: 30.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00249/1.661, allocations: 132.6 kB / 0.8944 GB, free: 30.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006377/1.661, allocations: 145.8 kB / 0.8946 GB, free: 30.93 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.002035/1.664, allocations: 0.6086 MB / 0.8952 GB, free: 30.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008822/1.664, allocations: 216.9 kB / 0.8954 GB, free: 30.62 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007783/1.672, allocations: 3.79 MB / 0.8991 GB, free: 30.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.39e-05/1.672, allocations: 20.06 kB / 0.8991 GB, free: 30.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/1.672, allocations: 0 / 0.8991 GB, free: 30.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-05/1.672, allocations: 7.641 kB / 0.8991 GB, free: 30.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009591/1.682, allocations: 5.568 MB / 0.9045 GB, free: 29.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/1.682, allocations: 9.812 kB / 0.9045 GB, free: 29.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/1.683, allocations: 320.1 kB / 0.9048 GB, free: 29.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00326/1.687, allocations: 0.6841 MB / 0.9055 GB, free: 29.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002602/1.687, allocations: 63.44 kB / 0.9056 GB, free: 29.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/1.688, allocations: 1.638 MB / 0.9072 GB, free: 28.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/1.688, allocations: 15.22 kB / 0.9072 GB, free: 28.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004691/1.693, allocations: 2.867 MB / 0.91 GB, free: 28.04 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000906/1.694, allocations: 366.6 kB / 0.9103 GB, free: 27.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005986/1.694, allocations: 37.81 kB / 0.9104 GB, free: 27.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/1.696, allocations: 127.2 kB / 0.9105 GB, free: 27.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003055/1.697, allocations: 135.9 kB / 0.9106 GB, free: 27.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003097/1.697, allocations: 141.6 kB / 0.9108 GB, free: 27.79 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001931/1.699, allocations: 1.438 MB / 0.9122 GB, free: 27.65 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.11e-07/1.699, allocations: 0 / 0.9122 GB, free: 27.65 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006357/1.705, allocations: 2.707 MB / 0.9148 GB, free: 27.52 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.005957/1.711, allocations: 2.55 MB / 0.9173 GB, free: 27.22 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007672/1.719, allocations: 4.611 MB / 0.9218 GB, free: 26.54 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/1.719, allocations: 2.641 kB / 0.9218 GB, free: 26.54 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002193/1.721, allocations: 1.223 MB / 0.923 GB, free: 26.53 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008537/1.73, allocations: 1.42 MB / 0.9244 GB, free: 26.44 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006506/1.736, allocations: 4.971 MB / 0.9292 GB, free: 23.49 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000847/1.737, allocations: 1.625 MB / 0.9308 GB, free: 22.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004338/1.742, allocations: 1.133 MB / 0.9319 GB, free: 21.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009461/1.743, allocations: 292.2 kB / 0.9322 GB, free: 21.11 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/1.743, allocations: 0 / 0.9322 GB, free: 21.11 MB / 0.5762 GB Notification: Performance of Templates: time 0.132/1.875, allocations: 93.88 MB / 1.024 GB, free: 9.309 MB / 0.6544 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe 2>&1) Environment - environmentSimulation: