Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 97.53 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 171.1 kB / 16.56 MB, free: 6.379 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.616/1.616, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.421/0.421, allocations: 43.55 MB / 314.5 MB, free: 8.754 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: Performance of FrontEnd - loaded program: time 0.0005576/0.0005578, allocations: 12 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1534, allocations: 58.85 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1): time 0.4746/0.6281, allocations: 157 MB / 0.5857 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02418/0.6523, allocations: 16.13 MB / 0.6015 GB, free: 14.48 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/0.6542, allocations: 39.69 kB / 0.6015 GB, free: 14.45 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.6558, allocations: 449.8 kB / 0.602 GB, free: 14 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009456/0.6652, allocations: 2.811 MB / 0.6047 GB, free: 11.2 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01047/0.6757, allocations: 3.026 MB / 0.6077 GB, free: 8.188 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004456/0.6802, allocations: 1.745 MB / 0.6094 GB, free: 6.441 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002619/0.6828, allocations: 1.498 MB / 0.6108 GB, free: 4.953 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003952/0.6868, allocations: 1.629 MB / 0.6124 GB, free: 3.32 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007798/0.6946, allocations: 3.288 MB / 0.6156 GB, free: 28 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005424/0.6952, allocations: 124 kB / 0.6157 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01381/0.709, allocations: 4.798 MB / 0.6204 GB, free: 11.1 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001858/0.7109, allocations: 0.8185 MB / 0.6212 GB, free: 10.28 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008467/0.7118, allocations: 364.9 kB / 0.6216 GB, free: 9.918 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01023/0.722, allocations: 4.243 MB / 0.6257 GB, free: 5.672 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7221, allocations: 0 / 0.6257 GB, free: 5.672 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.7221, allocations: 4 kB / 0.6257 GB, free: 5.668 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.538e-05/0.7222, allocations: 0 / 0.6257 GB, free: 5.668 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.01042/0.7326, allocations: 2.29 MB / 0.628 GB, free: 3.324 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.602e-05/0.7327, allocations: 8.031 kB / 0.628 GB, free: 3.316 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006675/0.7334, allocations: 198.4 kB / 0.6282 GB, free: 3.113 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003895/0.7373, allocations: 0.4897 MB / 0.6286 GB, free: 2.621 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002797/0.7401, allocations: 1.07 MB / 0.6297 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.381e-05/0.7402, allocations: 90.22 kB / 0.6298 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002638/0.7405, allocations: 112 kB / 0.6299 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3726/1.113, allocations: 2.832 MB / 0.6326 GB, free: 18.06 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/1.113, allocations: 1.094 kB / 0.6326 GB, free: 18.06 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002711/1.113, allocations: 54.69 kB / 0.6327 GB, free: 18.06 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000196/1.114, allocations: 146.5 kB / 0.6328 GB, free: 18.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005485/1.119, allocations: 3.574 MB / 0.6363 GB, free: 18.04 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01608/1.135, allocations: 8.461 MB / 0.6446 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003365/1.139, allocations: 1.526 MB / 0.6461 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001415/1.14, allocations: 1.117 MB / 0.6472 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/1.14, allocations: 50.56 kB / 0.6472 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002252/1.142, allocations: 0.6286 MB / 0.6478 GB, free: 14.56 MB / 494.1 MB Notification: Performance of pre-optimization done (n=74): time 5.109e-06/1.142, allocations: 0 / 0.6478 GB, free: 14.56 MB / 494.1 MB Notification: Performance of matching and sorting (n=74): time 0.01649/1.159, allocations: 4.247 MB / 0.652 GB, free: 14.28 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/1.159, allocations: 139.4 kB / 0.6521 GB, free: 14.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003895/1.163, allocations: 1.666 MB / 0.6537 GB, free: 13.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003955/1.163, allocations: 45.17 kB / 0.6538 GB, free: 13.92 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007582/1.164, allocations: 0.6509 MB / 0.6544 GB, free: 13.69 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004185/1.165, allocations: 260.2 kB / 0.6547 GB, free: 13.53 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/1.165, allocations: 19.66 kB / 0.6547 GB, free: 13.53 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002046/1.165, allocations: 346.8 kB / 0.655 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002246/1.167, allocations: 0.8638 MB / 0.6559 GB, free: 13.22 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002231/1.169, allocations: 1.073 MB / 0.6569 GB, free: 12.99 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002259/1.172, allocations: 0.988 MB / 0.6579 GB, free: 12.97 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/1.172, allocations: 3.031 kB / 0.6579 GB, free: 12.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005842/1.178, allocations: 2.678 MB / 0.6605 GB, free: 12.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005979/1.178, allocations: 2.139 MB / 0.6626 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/1.178, allocations: 5.312 kB / 0.6626 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02091/1.199, allocations: 3.643 MB / 0.6661 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/1.2, allocations: 194.8 kB / 0.6663 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003505/1.204, allocations: 2.26 MB / 0.6685 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002009/1.206, allocations: 80.52 kB / 0.6686 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/1.206, allocations: 82.77 kB / 0.6687 GB, free: 9.938 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/1.206, allocations: 3.219 kB / 0.6687 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003841/1.21, allocations: 2.152 MB / 0.6708 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/1.21, allocations: 4.75 kB / 0.6708 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006582/1.211, allocations: 181.6 kB / 0.671 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/1.212, allocations: 266.9 kB / 0.6712 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002667/1.215, allocations: 2.271 MB / 0.6734 GB, free: 8.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/1.216, allocations: 76.72 kB / 0.6735 GB, free: 8.562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/1.217, allocations: 80.52 kB / 0.6736 GB, free: 8.562 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 initialization (88): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 34} Notification: Performance of prepare postOptimizeDAE: time 0.001131/1.218, allocations: 0.4984 MB / 0.6741 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003553/1.218, allocations: 153.3 kB / 0.6742 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004187/1.222, allocations: 2.343 MB / 0.6765 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/1.222, allocations: 7.688 kB / 0.6765 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/1.222, allocations: 1.75 kB / 0.6765 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/1.222, allocations: 3.188 kB / 0.6765 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004882/1.227, allocations: 3.296 MB / 0.6797 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/1.227, allocations: 0 / 0.6797 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004429/1.228, allocations: 78.7 kB / 0.6798 GB, free: 7.133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0107/1.238, allocations: 2.475 MB / 0.6822 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001461/1.238, allocations: 17.06 kB / 0.6823 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/1.241, allocations: 1.909 MB / 0.6841 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.241, allocations: 0 / 0.6841 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003243/1.244, allocations: 1.942 MB / 0.686 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007988/1.245, allocations: 271.9 kB / 0.6863 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/1.245, allocations: 15.62 kB / 0.6863 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/1.246, allocations: 79 kB / 0.6864 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/1.246, allocations: 47.41 kB / 0.6864 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/1.247, allocations: 62.02 kB / 0.6865 GB, free: 4.801 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001534/1.248, allocations: 1.182 MB / 0.6876 GB, free: 4.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.248, allocations: 2.906 kB / 0.6876 GB, free: 4.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004467/1.253, allocations: 1.651 MB / 0.6892 GB, free: 4.379 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.00657/1.259, allocations: 4.017 MB / 0.6932 GB, free: 1.836 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004737/1.264, allocations: 3.056 MB / 0.6962 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/1.264, allocations: 4.719 kB / 0.6962 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/1.265, allocations: 0.745 MB / 0.6969 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004356/1.27, allocations: 0.9278 MB / 0.6978 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009148/1.279, allocations: 8.166 MB / 0.7058 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/1.28, allocations: 1.318 MB / 0.7071 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002339/1.282, allocations: 0.5825 MB / 0.7076 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007034/1.283, allocations: 0.509 MB / 0.7081 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of SimCode: time 2.174e-06/1.283, allocations: 0 / 0.7081 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1811/1.464, allocations: 77.95 MB / 0.7842 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003563/1.464, allocations: 268.4 kB / 0.7845 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.193/5.658, allocations: 0 / 0.7845 GB, free: 6.355 MB / 0.5762 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat does not exist to compare? outputFormat=mat