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.01109/0.01109, allocations: 104.8 kB / 15.74 MB, free: 5.996 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.00208/0.00208, allocations: 200 kB / 16.68 MB, free: 5.922 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.747/1.747, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.3169/0.3169, allocations: 39.94 MB / 309.8 MB, free: 9.406 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.001431/0.001431, allocations: 75.89 kB / 435.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2977, allocations: 56.87 MB / 492.7 MB, free: 19.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 0.6541/0.9518, allocations: 334.4 MB / 0.8076 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02888/0.9807, allocations: 19.68 MB / 0.8269 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003029/0.9838, allocations: 55.62 kB / 0.8269 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003826/0.9877, allocations: 1.072 MB / 0.828 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02353/1.011, allocations: 6.866 MB / 0.8347 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02635/1.038, allocations: 9.574 MB / 0.844 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009029/1.047, allocations: 5.852 MB / 0.8497 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003488/1.05, allocations: 1.977 MB / 0.8517 GB, free: 172 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01581/1.066, allocations: 6.842 MB / 0.8583 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005373/1.071, allocations: 2.551 MB / 0.8608 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001171/1.073, allocations: 268 kB / 0.8611 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03423/1.107, allocations: 17.52 MB / 0.8782 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002004/1.109, allocations: 1.134 MB / 0.8793 GB, free: 3.805 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002362/1.111, allocations: 1.424 MB / 0.8807 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.4361/1.547, allocations: 12.31 MB / 0.8927 GB, free: 22.41 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/1.547, allocations: 1.422 kB / 0.8927 GB, free: 22.41 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.814e-06/1.547, allocations: 0 / 0.8927 GB, free: 22.41 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001746/1.548, allocations: 0 / 0.8927 GB, free: 22.41 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.02151/1.569, allocations: 4.784 MB / 0.8974 GB, free: 20.71 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/1.569, allocations: 16.3 kB / 0.8974 GB, free: 20.7 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/1.571, allocations: 280.7 kB / 0.8977 GB, free: 20.58 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003277/1.574, allocations: 1.435 MB / 0.8991 GB, free: 20.16 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/1.574, allocations: 141.2 kB / 0.8992 GB, free: 20.16 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003254/1.574, allocations: 181.6 kB / 0.8994 GB, free: 20.16 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006436/1.581, allocations: 3.011 MB / 0.9023 GB, free: 19.92 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.72e-05/1.581, allocations: 1.875 kB / 0.9023 GB, free: 19.92 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002657/1.581, allocations: 78.72 kB / 0.9024 GB, free: 19.92 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002188/1.581, allocations: 165.4 kB / 0.9025 GB, free: 19.91 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006081/1.588, allocations: 3.286 MB / 0.9058 GB, free: 19.9 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02199/1.61, allocations: 11.32 MB / 0.9168 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004936/1.615, allocations: 2.372 MB / 0.9191 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00189/1.616, allocations: 1.045 MB / 0.9201 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003755/1.62, allocations: 4.689 MB / 0.9247 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.787e-05/1.62, allocations: 70.33 kB / 0.9248 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002403/1.623, allocations: 261 kB / 0.925 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=156): time 1.675e-05/1.623, allocations: 0 / 0.925 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=156): time 0.01013/1.633, allocations: 3.836 MB / 0.9288 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/1.633, allocations: 197.9 kB / 0.929 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003345/1.636, allocations: 1.912 MB / 0.9308 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004475/1.637, allocations: 61.52 kB / 0.9309 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007393/1.638, allocations: 0.9004 MB / 0.9318 GB, free: 9.301 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006437/1.638, allocations: 0.5375 MB / 0.9323 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001325/1.64, allocations: 459.7 kB / 0.9327 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.672e-05/1.64, allocations: 303.1 kB / 0.933 GB, free: 8.625 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001961/1.642, allocations: 1.119 MB / 0.9341 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002344/1.644, allocations: 1.517 MB / 0.9356 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004041/1.648, allocations: 2.744 MB / 0.9383 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.615e-05/1.648, allocations: 6.031 kB / 0.9383 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.00624/1.654, allocations: 3.433 MB / 0.9416 GB, free: 7.309 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.759e-05/1.654, allocations: 157.2 kB / 0.9418 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/1.655, allocations: 8.938 kB / 0.9418 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004661/1.659, allocations: 0.928 MB / 0.9427 GB, free: 7.117 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002219/1.661, allocations: 446.4 kB / 0.9431 GB, free: 7.117 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/1.664, allocations: 1.817 MB / 0.9449 GB, free: 22.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002719/1.666, allocations: 86.31 kB / 0.945 GB, free: 22.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006011/1.667, allocations: 147.5 kB / 0.9451 GB, free: 22.06 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00325/1.67, allocations: 1.479 MB / 0.9466 GB, free: 21.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002472/1.673, allocations: 1.498 MB / 0.948 GB, free: 21.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004126/1.677, allocations: 2.679 MB / 0.9507 GB, free: 20.94 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.334e-05/1.677, allocations: 3.812 kB / 0.9507 GB, free: 20.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=252) (initialization_lambda0): time 0.005723/1.683, allocations: 3.254 MB / 0.9538 GB, free: 20.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-05/1.683, allocations: 143.8 kB / 0.954 GB, free: 20.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/1.683, allocations: 14.41 kB / 0.954 GB, free: 20.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001804/1.685, allocations: 441.3 kB / 0.9544 GB, free: 20.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/1.687, allocations: 491.3 kB / 0.9549 GB, free: 20.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/1.688, allocations: 1.427 MB / 0.9563 GB, free: 19.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002662/1.691, allocations: 93.47 kB / 0.9564 GB, free: 19.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003994/1.691, allocations: 148.2 kB / 0.9565 GB, free: 19.37 MB / 0.6544 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.0009662/1.692, allocations: 301.3 kB / 0.9568 GB, free: 19.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008476/1.693, allocations: 218.8 kB / 0.957 GB, free: 19.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006821/1.7, allocations: 3.848 MB / 0.9608 GB, free: 18.72 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-05/1.7, allocations: 21.47 kB / 0.9608 GB, free: 18.72 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/1.7, allocations: 0 / 0.9608 GB, free: 18.72 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/1.7, allocations: 9.609 kB / 0.9608 GB, free: 18.72 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009652/1.709, allocations: 5.01 MB / 0.9657 GB, free: 18.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/1.71, allocations: 7.938 kB / 0.9657 GB, free: 18.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/1.711, allocations: 296.2 kB / 0.966 GB, free: 18.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004023/1.715, allocations: 0.8443 MB / 0.9668 GB, free: 18.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002518/1.715, allocations: 57.45 kB / 0.9668 GB, free: 18.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/1.717, allocations: 1.83 MB / 0.9686 GB, free: 17.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/1.717, allocations: 6.125 kB / 0.9686 GB, free: 17.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005488/1.722, allocations: 2.857 MB / 0.9714 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009688/1.723, allocations: 319.2 kB / 0.9717 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007711/1.724, allocations: 37.75 kB / 0.9718 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002062/1.726, allocations: 79.2 kB / 0.9718 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002784/1.727, allocations: 136 kB / 0.972 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003279/1.727, allocations: 132.7 kB / 0.9721 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002109/1.729, allocations: 1.435 MB / 0.9735 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.71e-07/1.729, allocations: 0 / 0.9735 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009427/1.738, allocations: 2.712 MB / 0.9762 GB, free: 11.83 MB / 0.6544 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.0115/1.75, allocations: 2.536 MB / 0.9786 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01098/1.761, allocations: 4.628 MB / 0.9831 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-05/1.761, allocations: 3.625 kB / 0.9832 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002711/1.764, allocations: 1.226 MB / 0.9843 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008357/1.772, allocations: 1.313 MB / 0.9856 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009101/1.781, allocations: 4.097 MB / 0.9896 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002114/1.783, allocations: 1.621 MB / 0.9912 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00516/1.789, allocations: 1.08 MB / 0.9923 GB, free: 15.75 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/1.79, allocations: 251 kB / 0.9925 GB, free: 15.52 MB / 0.67 GB Notification: Performance of SimCode: time 1.382e-06/1.79, allocations: 4 kB / 0.9925 GB, free: 15.52 MB / 0.67 GB Notification: Performance of Templates: time 0.1385/1.928, allocations: 93.21 MB / 1.084 GB, free: 2.879 MB / 0.7481 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)