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.001393/0.001394, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001776/0.001777, allocations: 197.7 kB / 16.14 MB, free: 6.711 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.831/1.831, allocations: 205.1 MB / 222 MB, free: 4.77 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.3812/0.3812, allocations: 39.93 MB / 309.3 MB, free: 9.289 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.001288/0.001288, allocations: 72.45 kB / 376.9 MB, free: 13.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1334, allocations: 56.88 MB / 433.8 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 0.934/1.067, allocations: 338 MB / 0.7538 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02662/1.094, allocations: 20.54 MB / 0.7738 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003202/1.097, allocations: 68.72 kB / 0.7739 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003091/1.101, allocations: 0.9248 MB / 0.7748 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01726/1.118, allocations: 6.1 MB / 0.7808 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.02223/1.14, allocations: 8.234 MB / 0.7888 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009403/1.149, allocations: 8.415 MB / 0.797 GB, free: 15.08 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002962/1.152, allocations: 1.664 MB / 0.7986 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01473/1.167, allocations: 6.139 MB / 0.8046 GB, free: 7.227 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004823/1.172, allocations: 2.59 MB / 0.8072 GB, free: 4.629 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001074/1.173, allocations: 136 kB / 0.8073 GB, free: 4.496 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03359/1.207, allocations: 18 MB / 0.8249 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003189/1.21, allocations: 1.021 MB / 0.8259 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003122/1.213, allocations: 1.291 MB / 0.8271 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.03443/1.248, allocations: 12.53 MB / 0.8394 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.248, allocations: 0 / 0.8394 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.203e-06/1.248, allocations: 0 / 0.8394 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.242e-05/1.248, allocations: 4 kB / 0.8394 GB, free: 3.59 MB / 0.5762 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.01168/1.259, allocations: 4.783 MB / 0.844 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/1.259, allocations: 12.03 kB / 0.844 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/1.261, allocations: 277 kB / 0.8443 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/1.263, allocations: 1.368 MB / 0.8456 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/1.263, allocations: 151.5 kB / 0.8458 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002752/1.263, allocations: 176 kB / 0.846 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004797/1.268, allocations: 3.009 MB / 0.8489 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/1.268, allocations: 0 / 0.8489 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002334/1.268, allocations: 79.97 kB / 0.849 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001934/1.268, allocations: 163.6 kB / 0.8491 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005363/1.274, allocations: 3.293 MB / 0.8523 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2216/1.495, allocations: 11.35 MB / 0.8634 GB, free: 252.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004031/1.499, allocations: 2.361 MB / 0.8657 GB, free: 251.7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/1.501, allocations: 1.042 MB / 0.8668 GB, free: 251.4 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003098/1.504, allocations: 4.691 MB / 0.8713 GB, free: 246.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/1.504, allocations: 60.22 kB / 0.8714 GB, free: 246.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001434/1.506, allocations: 260.9 kB / 0.8716 GB, free: 246.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=156): time 6.141e-06/1.506, allocations: 0.8438 kB / 0.8716 GB, free: 246.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=156): time 0.006784/1.512, allocations: 3.61 MB / 0.8752 GB, free: 245.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/1.513, allocations: 200.8 kB / 0.8754 GB, free: 244.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/1.515, allocations: 1.91 MB / 0.8772 GB, free: 244.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003211/1.515, allocations: 60.17 kB / 0.8773 GB, free: 244.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004936/1.516, allocations: 0.9069 MB / 0.8782 GB, free: 243.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003943/1.516, allocations: 0.531 MB / 0.8787 GB, free: 242.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006594/1.517, allocations: 458.2 kB / 0.8791 GB, free: 242.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.391e-05/1.517, allocations: 309.1 kB / 0.8794 GB, free: 242.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/1.518, allocations: 1.113 MB / 0.8805 GB, free: 242.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001923/1.52, allocations: 1.523 MB / 0.882 GB, free: 241.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003543/1.524, allocations: 2.751 MB / 0.8847 GB, free: 239.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/1.524, allocations: 4.625 kB / 0.8847 GB, free: 239.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.005506/1.529, allocations: 3.39 MB / 0.888 GB, free: 238.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.192e-05/1.53, allocations: 148.7 kB / 0.8881 GB, free: 238.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/1.53, allocations: 13.16 kB / 0.8881 GB, free: 238.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003613/1.533, allocations: 0.7459 MB / 0.8889 GB, free: 238.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00216/1.535, allocations: 463.2 kB / 0.8893 GB, free: 238.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/1.537, allocations: 1.644 MB / 0.8909 GB, free: 236.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/1.539, allocations: 126.3 kB / 0.891 GB, free: 236.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005434/1.54, allocations: 151.6 kB / 0.8912 GB, free: 236.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002801/1.543, allocations: 1.476 MB / 0.8926 GB, free: 236.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002311/1.545, allocations: 1.501 MB / 0.8941 GB, free: 235.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004114/1.549, allocations: 2.681 MB / 0.8967 GB, free: 234 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.731e-05/1.549, allocations: 3.281 kB / 0.8967 GB, free: 234 MB / 0.5919 GB Notification: Performance of matching and sorting (n=252) (initialization_lambda0): time 0.005972/1.555, allocations: 3.228 MB / 0.8999 GB, free: 232.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.682e-05/1.556, allocations: 154.3 kB / 0.9 GB, free: 232.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.646e-05/1.556, allocations: 12.38 kB / 0.9 GB, free: 232.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001542/1.557, allocations: 363.1 kB / 0.9004 GB, free: 232.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002438/1.56, allocations: 496.2 kB / 0.9008 GB, free: 232.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009558/1.561, allocations: 1.343 MB / 0.9022 GB, free: 231.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00247/1.563, allocations: 137.5 kB / 0.9023 GB, free: 231.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003745/1.563, allocations: 145.7 kB / 0.9024 GB, free: 231.2 MB / 0.5919 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.0006948/1.564, allocations: 303 kB / 0.9027 GB, free: 230.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005916/1.565, allocations: 222.2 kB / 0.9029 GB, free: 230.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007214/1.572, allocations: 3.763 MB / 0.9066 GB, free: 229.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.673e-05/1.572, allocations: 18.16 kB / 0.9066 GB, free: 229.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/1.572, allocations: 2.25 kB / 0.9066 GB, free: 229.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.21e-05/1.572, allocations: 9.422 kB / 0.9066 GB, free: 229.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/1.582, allocations: 5.553 MB / 0.9121 GB, free: 227.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/1.582, allocations: 7.969 kB / 0.9121 GB, free: 227.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/1.584, allocations: 312.1 kB / 0.9124 GB, free: 227 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003447/1.587, allocations: 0.6841 MB / 0.913 GB, free: 226.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002653/1.587, allocations: 65.05 kB / 0.9131 GB, free: 226.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/1.589, allocations: 1.636 MB / 0.9147 GB, free: 225.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.589, allocations: 5.5 kB / 0.9147 GB, free: 225.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005194/1.594, allocations: 2.848 MB / 0.9175 GB, free: 224.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008293/1.595, allocations: 315 kB / 0.9178 GB, free: 224.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005453/1.595, allocations: 47.09 kB / 0.9178 GB, free: 224.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00183/1.597, allocations: 116.6 kB / 0.9179 GB, free: 224.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000316/1.598, allocations: 142.1 kB / 0.9181 GB, free: 224 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000261/1.598, allocations: 136.4 kB / 0.9182 GB, free: 224 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002002/1.6, allocations: 1.436 MB / 0.9196 GB, free: 223.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.6e-07/1.6, allocations: 0 / 0.9196 GB, free: 223.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007832/1.608, allocations: 2.717 MB / 0.9222 GB, free: 223.1 MB / 0.5919 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.007405/1.615, allocations: 2.552 MB / 0.9247 GB, free: 222.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008621/1.624, allocations: 4.579 MB / 0.9292 GB, free: 220.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.618e-05/1.624, allocations: 3.859 kB / 0.9292 GB, free: 220.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002087/1.626, allocations: 1.203 MB / 0.9304 GB, free: 220.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007136/1.633, allocations: 1.302 MB / 0.9317 GB, free: 220.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006842/1.64, allocations: 4.924 MB / 0.9365 GB, free: 216.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000905/1.641, allocations: 1.616 MB / 0.938 GB, free: 215.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004486/1.645, allocations: 1.136 MB / 0.9392 GB, free: 214 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008938/1.646, allocations: 263.3 kB / 0.9394 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.022e-06/1.646, allocations: 0 / 0.9394 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.1017/1.748, allocations: 90.24 MB / 1.028 GB, free: 123.4 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources.makefile (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)