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.001173/0.001173, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001013/0.001013, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.895/1.895, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.3755/0.3755, allocations: 38.04 MB / 308.4 MB, free: 10.45 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.0005632/0.0005632, allocations: 20 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1298, allocations: 57.52 MB / 433.9 MB, free: 5.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 0.7642/0.894, allocations: 243.1 MB / 0.6612 GB, free: 3.914 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02759/0.9217, allocations: 23.68 MB / 0.6843 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002794/0.9245, allocations: 61.53 kB / 0.6844 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002986/0.9275, allocations: 0.8293 MB / 0.6852 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01796/0.9455, allocations: 5.223 MB / 0.6903 GB, free: 3.531 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01864/0.9642, allocations: 6.551 MB / 0.6967 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005153/0.9693, allocations: 3.125 MB / 0.6997 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002325/0.9717, allocations: 1.581 MB / 0.7013 GB, free: 17.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01037/0.9821, allocations: 4.778 MB / 0.7059 GB, free: 17 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003804/0.9859, allocations: 1.819 MB / 0.7077 GB, free: 16.58 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001013/0.9869, allocations: 129.1 kB / 0.7078 GB, free: 16.58 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03159/1.019, allocations: 14.49 MB / 0.722 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002474/1.021, allocations: 0.9113 MB / 0.7229 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002243/1.023, allocations: 0.4978 MB / 0.7234 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02097/1.044, allocations: 7.578 MB / 0.7308 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/1.044, allocations: 0 / 0.7308 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.066e-06/1.044, allocations: 0 / 0.7308 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001564/1.045, allocations: 0 / 0.7308 GB, free: 5.07 MB / 0.4981 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.01175/1.056, allocations: 4.142 MB / 0.7348 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/1.056, allocations: 8.031 kB / 0.7348 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001776/1.058, allocations: 278 kB / 0.7351 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003466/1.062, allocations: 1.322 MB / 0.7364 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/1.062, allocations: 142.2 kB / 0.7365 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007036/1.063, allocations: 180.7 kB / 0.7367 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006727/1.069, allocations: 2.988 MB / 0.7396 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.14e-05/1.069, allocations: 0 / 0.7396 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004791/1.07, allocations: 85.03 kB / 0.7397 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002342/1.07, allocations: 168.7 kB / 0.7398 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005999/1.076, allocations: 3.295 MB / 0.7431 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02434/1.1, allocations: 11.46 MB / 0.7542 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005057/1.106, allocations: 2.401 MB / 0.7566 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003076/1.109, allocations: 3.402 MB / 0.7599 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.154e-05/1.109, allocations: 60.16 kB / 0.76 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001571/1.11, allocations: 260.8 kB / 0.7602 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=156): time 1.296e-05/1.11, allocations: 0 / 0.7602 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=156): time 0.008096/1.119, allocations: 3.624 MB / 0.7638 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/1.119, allocations: 201.2 kB / 0.764 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003101/1.122, allocations: 1.889 MB / 0.7658 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004211/1.122, allocations: 67.39 kB / 0.7659 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000748/1.123, allocations: 0.8974 MB / 0.7667 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006328/1.124, allocations: 0.5352 MB / 0.7673 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/1.124, allocations: 45.62 kB / 0.7673 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002004/1.124, allocations: 387.1 kB / 0.7677 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002018/1.126, allocations: 1.082 MB / 0.7687 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002341/1.128, allocations: 1.509 MB / 0.7702 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002395/1.131, allocations: 1.427 MB / 0.7716 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.987e-05/1.131, allocations: 4 kB / 0.7716 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.006514/1.137, allocations: 3.355 MB / 0.7749 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.001788/1.139, allocations: 4.475 MB / 0.7792 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.152e-05/1.139, allocations: 12 kB / 0.7793 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003944/1.143, allocations: 0.7489 MB / 0.78 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002334/1.146, allocations: 468.3 kB / 0.7804 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/1.147, allocations: 1.64 MB / 0.782 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002576/1.15, allocations: 142.3 kB / 0.7822 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006128/1.151, allocations: 149.3 kB / 0.7823 GB, free: 8.953 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/1.151, allocations: 4 kB / 0.7823 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0063/1.157, allocations: 3.034 MB / 0.7853 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.846e-05/1.157, allocations: 11.95 kB / 0.7853 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001563/1.159, allocations: 362 kB / 0.7856 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002198/1.161, allocations: 0.4963 MB / 0.7861 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/1.162, allocations: 1.333 MB / 0.7874 GB, free: 4.785 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/1.164, allocations: 135 kB / 0.7876 GB, free: 4.684 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000392/1.165, allocations: 151.4 kB / 0.7877 GB, free: 4.555 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001548/1.166, allocations: 0.606 MB / 0.7883 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007264/1.167, allocations: 213.5 kB / 0.7885 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007369/1.174, allocations: 3.806 MB / 0.7922 GB, free: 1.199 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-05/1.174, allocations: 19.69 kB / 0.7922 GB, free: 1.184 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/1.174, allocations: 0 / 0.7922 GB, free: 1.184 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.189e-05/1.174, allocations: 13.34 kB / 0.7922 GB, free: 1.172 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/1.185, allocations: 5.573 MB / 0.7977 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/1.185, allocations: 4 kB / 0.7977 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/1.187, allocations: 320.3 kB / 0.798 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003416/1.19, allocations: 0.6758 MB / 0.7987 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002772/1.19, allocations: 67.95 kB / 0.7987 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/1.192, allocations: 1.638 MB / 0.8003 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/1.192, allocations: 6.625 kB / 0.8003 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00559/1.197, allocations: 3.235 MB / 0.8035 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009286/1.198, allocations: 362.8 kB / 0.8038 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006235/1.199, allocations: 34.56 kB / 0.8039 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002064/1.201, allocations: 122.2 kB / 0.804 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000304/1.201, allocations: 141.5 kB / 0.8041 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003432/1.202, allocations: 137.5 kB / 0.8042 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002472/1.204, allocations: 1.383 MB / 0.8056 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.51e-07/1.204, allocations: 0 / 0.8056 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008862/1.213, allocations: 2.709 MB / 0.8082 GB, free: 3.871 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.007984/1.221, allocations: 2.493 MB / 0.8107 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009499/1.231, allocations: 4.604 MB / 0.8152 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.788e-05/1.231, allocations: 5.641 kB / 0.8152 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002513/1.233, allocations: 1.217 MB / 0.8164 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00677/1.24, allocations: 1.203 MB / 0.8175 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009782/1.25, allocations: 4.745 MB / 0.8222 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001647/1.252, allocations: 1.659 MB / 0.8238 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005193/1.257, allocations: 1.114 MB / 0.8249 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008962/1.258, allocations: 257.9 kB / 0.8251 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of SimCode: time 1.423e-06/1.258, allocations: 2.625 kB / 0.8251 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of Templates: time 0.3319/1.59, allocations: 85.48 MB / 0.9086 GB, free: 253.3 MB / 0.6075 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: