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.01341/0.01341, allocations: 102 kB / 15.73 MB, free: 6.051 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.002548/0.002547, allocations: 195 kB / 16.68 MB, free: 5.969 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.809/1.809, allocations: 205.1 MB / 222.6 MB, free: 4.375 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.3567/0.3567, allocations: 38 MB / 307.9 MB, free: 10.4 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.001659/0.001659, allocations: 63.91 kB / 433 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3403, allocations: 56.47 MB / 489.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 0.7187/1.059, allocations: 334.4 MB / 0.8045 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02908/1.088, allocations: 19.69 MB / 0.8237 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002793/1.091, allocations: 51.69 kB / 0.8238 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004033/1.095, allocations: 1.064 MB / 0.8248 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02163/1.117, allocations: 6.881 MB / 0.8315 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02677/1.144, allocations: 9.559 MB / 0.8409 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008377/1.152, allocations: 5.852 MB / 0.8466 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004065/1.156, allocations: 1.981 MB / 0.8485 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01949/1.176, allocations: 6.85 MB / 0.8552 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005108/1.181, allocations: 2.547 MB / 0.8577 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001351/1.182, allocations: 272 kB / 0.858 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03881/1.221, allocations: 17.52 MB / 0.8751 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002531/1.224, allocations: 1.126 MB / 0.8762 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003689/1.227, allocations: 1.428 MB / 0.8776 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.4236/1.651, allocations: 12.31 MB / 0.8896 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/1.651, allocations: 1.062 kB / 0.8896 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.533e-06/1.651, allocations: 0 / 0.8896 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000103/1.651, allocations: 0 / 0.8896 GB, free: 27.93 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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.01639/1.667, allocations: 4.773 MB / 0.8943 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/1.668, allocations: 13.45 kB / 0.8943 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/1.669, allocations: 281.7 kB / 0.8945 GB, free: 26.18 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003244/1.672, allocations: 1.437 MB / 0.8959 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/1.672, allocations: 150 kB / 0.8961 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003692/1.673, allocations: 183.3 kB / 0.8963 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006083/1.679, allocations: 2.999 MB / 0.8992 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.973e-05/1.679, allocations: 3.688 kB / 0.8992 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002742/1.679, allocations: 83.31 kB / 0.8993 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002599/1.679, allocations: 165.4 kB / 0.8994 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005945/1.685, allocations: 3.287 MB / 0.9026 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02119/1.707, allocations: 11.32 MB / 0.9137 GB, free: 21.07 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004577/1.711, allocations: 2.367 MB / 0.916 GB, free: 21 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002088/1.713, allocations: 1.045 MB / 0.917 GB, free: 20.98 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003471/1.717, allocations: 4.693 MB / 0.9216 GB, free: 16.29 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.161e-05/1.717, allocations: 57.25 kB / 0.9217 GB, free: 16.25 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001999/1.719, allocations: 271.1 kB / 0.9219 GB, free: 16.13 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=156): time 7.263e-06/1.719, allocations: 0 / 0.9219 GB, free: 16.13 MB / 0.6387 GB Notification: Performance of matching and sorting (n=156): time 0.009009/1.728, allocations: 3.836 MB / 0.9257 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.557e-05/1.728, allocations: 200.2 kB / 0.9259 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002946/1.731, allocations: 1.912 MB / 0.9277 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004356/1.731, allocations: 61.86 kB / 0.9278 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005865/1.732, allocations: 0.895 MB / 0.9287 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005287/1.733, allocations: 0.5405 MB / 0.9292 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008533/1.733, allocations: 457 kB / 0.9296 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.118e-05/1.733, allocations: 304.2 kB / 0.9299 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00194/1.735, allocations: 1.121 MB / 0.931 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002105/1.738, allocations: 1.512 MB / 0.9325 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003775/1.741, allocations: 2.748 MB / 0.9352 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/1.741, allocations: 2.375 kB / 0.9352 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.006022/1.747, allocations: 3.435 MB / 0.9385 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.266e-05/1.748, allocations: 149 kB / 0.9387 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/1.748, allocations: 22.38 kB / 0.9387 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004583/1.752, allocations: 0.9251 MB / 0.9396 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002138/1.754, allocations: 448.5 kB / 0.94 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/1.756, allocations: 1.813 MB / 0.9418 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002812/1.759, allocations: 79.52 kB / 0.9419 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004161/1.759, allocations: 153.1 kB / 0.942 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002598/1.762, allocations: 1.483 MB / 0.9435 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002006/1.764, allocations: 1.493 MB / 0.9449 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003514/1.767, allocations: 2.686 MB / 0.9475 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.807e-06/1.768, allocations: 3.312 kB / 0.9475 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=252) (initialization_lambda0): time 0.005366/1.773, allocations: 3.244 MB / 0.9507 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.183e-05/1.773, allocations: 150.4 kB / 0.9509 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/1.773, allocations: 9.25 kB / 0.9509 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001799/1.775, allocations: 442.3 kB / 0.9513 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0023/1.777, allocations: 489.2 kB / 0.9517 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/1.778, allocations: 1.438 MB / 0.9532 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/1.781, allocations: 90.62 kB / 0.9532 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004941/1.781, allocations: 146.3 kB / 0.9534 GB, free: 8.961 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (233): * Single equations (assignments): 226 * 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,12), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0009016/1.782, allocations: 303.7 kB / 0.9537 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007451/1.783, allocations: 220.2 kB / 0.9539 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006319/1.789, allocations: 3.838 MB / 0.9576 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/1.789, allocations: 19.31 kB / 0.9576 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/1.789, allocations: 0 / 0.9576 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.995e-05/1.789, allocations: 12.31 kB / 0.9577 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008422/1.798, allocations: 5.013 MB / 0.9626 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/1.798, allocations: 4.266 kB / 0.9626 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/1.799, allocations: 294 kB / 0.9628 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00395/1.803, allocations: 0.8566 MB / 0.9637 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003828/1.804, allocations: 61.34 kB / 0.9637 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001483/1.805, allocations: 1.824 MB / 0.9655 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.805, allocations: 5.875 kB / 0.9655 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004873/1.81, allocations: 2.86 MB / 0.9683 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008381/1.811, allocations: 317 kB / 0.9686 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004122/1.811, allocations: 36.72 kB / 0.9686 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/1.813, allocations: 76.89 kB / 0.9687 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002668/1.813, allocations: 145.1 kB / 0.9689 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002581/1.813, allocations: 132.8 kB / 0.969 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001753/1.815, allocations: 1.431 MB / 0.9704 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/1.815, allocations: 0.875 kB / 0.9704 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00911/1.824, allocations: 2.71 MB / 0.973 GB, free: 2.762 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (158): * Single equations (assignments): 155 * 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), (2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009348/1.834, allocations: 2.533 MB / 0.9755 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.008777/1.842, allocations: 4.646 MB / 0.98 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.347e-05/1.843, allocations: 7.625 kB / 0.9801 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002443/1.845, allocations: 1.214 MB / 0.9812 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006928/1.852, allocations: 1.315 MB / 0.9825 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007292/1.859, allocations: 4.104 MB / 0.9865 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/1.861, allocations: 1.616 MB / 0.9881 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004219/1.865, allocations: 1.086 MB / 0.9892 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007645/1.866, allocations: 249 kB / 0.9894 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of SimCode: time 2.013e-06/1.866, allocations: 0 / 0.9894 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of Templates: time 0.1408/2.006, allocations: 93.21 MB / 1.08 GB, free: 10.95 MB / 0.7481 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources.makefile (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)