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.0009152/0.0009153, allocations: 99.7 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.0009648/0.0009648, 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.238/1.238, allocations: 205.4 MB / 222.1 MB, free: 5.902 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.2679/0.2679, allocations: 40 MB / 310.4 MB, free: 9.812 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.0004882/0.0004883, allocations: 12 kB / 378.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09385/0.09435, allocations: 57.96 MB / 436.8 MB, free: 2.617 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 0.6168/0.7111, allocations: 243.1 MB / 0.664 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02467/0.7359, allocations: 23.68 MB / 0.6871 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.7377, allocations: 64.47 kB / 0.6871 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001981/0.7396, allocations: 0.8298 MB / 0.6879 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01334/0.753, allocations: 5.216 MB / 0.693 GB, free: 3.266 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01612/0.7691, allocations: 6.547 MB / 0.6994 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004401/0.7735, allocations: 3.127 MB / 0.7025 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002026/0.7756, allocations: 1.574 MB / 0.704 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008365/0.784, allocations: 4.788 MB / 0.7087 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003002/0.787, allocations: 1.832 MB / 0.7105 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004005/0.7874, allocations: 129.8 kB / 0.7106 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02418/0.8116, allocations: 14.49 MB / 0.7248 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001892/0.8135, allocations: 0.9112 MB / 0.7257 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001314/0.8148, allocations: 0.4952 MB / 0.7261 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01642/0.8313, allocations: 7.582 MB / 0.7335 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.8313, allocations: 0 / 0.7335 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8313, allocations: 0 / 0.7335 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.113e-05/0.8314, allocations: 0 / 0.7335 GB, free: 3.215 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.009417/0.8408, allocations: 4.134 MB / 0.7376 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.8408, allocations: 8.031 kB / 0.7376 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009428/0.8418, allocations: 284.3 kB / 0.7379 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/0.844, allocations: 1.312 MB / 0.7391 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.8441, allocations: 145.7 kB / 0.7393 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002686/0.8444, allocations: 178.6 kB / 0.7394 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00422/0.8486, allocations: 2.991 MB / 0.7424 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.232e-05/0.8486, allocations: 0 / 0.7424 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002181/0.8489, allocations: 81.81 kB / 0.7424 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001767/0.8491, allocations: 170.2 kB / 0.7426 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004831/0.8539, allocations: 3.296 MB / 0.7458 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01704/0.871, allocations: 11.47 MB / 0.757 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00393/0.8749, allocations: 2.401 MB / 0.7594 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002927/0.8779, allocations: 3.4 MB / 0.7627 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.883e-05/0.878, allocations: 57.66 kB / 0.7627 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00129/0.8793, allocations: 262.3 kB / 0.763 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=156): time 3.837e-06/0.8793, allocations: 0 / 0.763 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of matching and sorting (n=156): time 0.006977/0.8863, allocations: 3.621 MB / 0.7665 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.594e-05/0.8864, allocations: 201.2 kB / 0.7667 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00241/0.8888, allocations: 1.898 MB / 0.7686 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000316/0.8892, allocations: 62.7 kB / 0.7686 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006204/0.8898, allocations: 0.9007 MB / 0.7695 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004402/0.8902, allocations: 0.5342 MB / 0.77 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.8904, allocations: 44.12 kB / 0.7701 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.8906, allocations: 384.8 kB / 0.7705 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/0.8923, allocations: 1.085 MB / 0.7715 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/0.8943, allocations: 1.506 MB / 0.773 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/0.8964, allocations: 1.43 MB / 0.7744 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.689e-06/0.8964, allocations: 4 kB / 0.7744 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.005669/0.9021, allocations: 3.351 MB / 0.7777 GB, free: 14.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.00158/0.9037, allocations: 4.483 MB / 0.782 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.858e-05/0.9037, allocations: 17.62 kB / 0.782 GB, free: 9.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003767/0.9075, allocations: 0.7418 MB / 0.7828 GB, free: 9.203 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/0.9096, allocations: 461.8 kB / 0.7832 GB, free: 8.789 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.9111, allocations: 1.642 MB / 0.7848 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/0.9131, allocations: 137.8 kB / 0.7849 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003004/0.9135, allocations: 154.5 kB / 0.7851 GB, free: 7.078 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.9135, allocations: 4 kB / 0.7851 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00486/0.9183, allocations: 3.028 MB / 0.7881 GB, free: 4.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/0.9184, allocations: 12 kB / 0.7881 GB, free: 4.969 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001371/0.9198, allocations: 364.6 kB / 0.7884 GB, free: 4.648 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/0.9218, allocations: 0.4895 MB / 0.7889 GB, free: 4.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009779/0.9228, allocations: 1.341 MB / 0.7902 GB, free: 2.914 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.9245, allocations: 131.8 kB / 0.7903 GB, free: 2.816 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002684/0.9248, allocations: 149 kB / 0.7905 GB, free: 2.688 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.001076/0.9259, allocations: 0.6101 MB / 0.7911 GB, free: 2.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003645/0.9262, allocations: 217.4 kB / 0.7913 GB, free: 2.055 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006285/0.9325, allocations: 3.798 MB / 0.795 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.567e-05/0.9326, allocations: 19.95 kB / 0.795 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.9326, allocations: 0 / 0.795 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/0.9326, allocations: 7.969 kB / 0.795 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008513/0.9411, allocations: 5.579 MB / 0.8005 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.9412, allocations: 4 kB / 0.8005 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.9425, allocations: 324.7 kB / 0.8008 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003123/0.9456, allocations: 0.677 MB / 0.8014 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001713/0.9458, allocations: 67.45 kB / 0.8015 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.9471, allocations: 1.631 MB / 0.8031 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/0.9471, allocations: 10.53 kB / 0.8031 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004894/0.952, allocations: 3.234 MB / 0.8063 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007142/0.9528, allocations: 371.3 kB / 0.8066 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000356/0.9531, allocations: 32.75 kB / 0.8066 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/0.9547, allocations: 117.8 kB / 0.8068 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002468/0.955, allocations: 139.8 kB / 0.8069 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002527/0.9552, allocations: 136.8 kB / 0.807 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001823/0.9571, allocations: 1.388 MB / 0.8084 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9571, allocations: 0 / 0.8084 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007421/0.9645, allocations: 2.709 MB / 0.811 GB, free: 2 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.006439/0.971, allocations: 2.491 MB / 0.8135 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007588/0.9786, allocations: 4.591 MB / 0.8179 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.426e-05/0.9787, allocations: 5.891 kB / 0.8179 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002012/0.9807, allocations: 1.219 MB / 0.8191 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005807/0.9865, allocations: 1.214 MB / 0.8203 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007036/0.9936, allocations: 4.75 MB / 0.825 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/0.9948, allocations: 1.659 MB / 0.8266 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004424/0.9992, allocations: 1.115 MB / 0.8277 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008288/1, allocations: 255.3 kB / 0.8279 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of SimCode: time 1.072e-06/1, allocations: 6.625 kB / 0.8279 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of Templates: time 0.3633/1.363, allocations: 85.47 MB / 0.9114 GB, free: 92.75 MB / 0.6075 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: