Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_4_0_0_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.001219/0.001219, allocations: 95.86 kB / 16.98 MB, free: 5.938 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.001296/0.001296, allocations: 184.2 kB / 17.87 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.2 MB / 241.8 MB, free: 396 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2022/0.2022, allocations: 44.23 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004406/0.0004406, allocations: 10.94 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1545, allocations: 61.91 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1): time 0.4694/0.6239, allocations: 157 MB / 0.6138 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02074/0.6447, allocations: 13.88 MB / 0.6273 GB, free: 6.957 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/0.6463, allocations: 43.62 kB / 0.6274 GB, free: 6.914 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001566/0.6479, allocations: 445.9 kB / 0.6278 GB, free: 6.477 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008507/0.6564, allocations: 2.455 MB / 0.6302 GB, free: 4.02 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009744/0.6662, allocations: 2.886 MB / 0.633 GB, free: 1.141 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004252/0.6704, allocations: 1.749 MB / 0.6347 GB, free: 15.39 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002715/0.6732, allocations: 1.502 MB / 0.6362 GB, free: 13.88 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004267/0.6775, allocations: 1.633 MB / 0.6378 GB, free: 12.24 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008386/0.6859, allocations: 3.283 MB / 0.641 GB, free: 8.949 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005539/0.6865, allocations: 120 kB / 0.6411 GB, free: 8.832 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01309/0.6996, allocations: 4.33 MB / 0.6453 GB, free: 4.496 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00207/0.7017, allocations: 0.8185 MB / 0.6461 GB, free: 3.676 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.7028, allocations: 365 kB / 0.6465 GB, free: 3.312 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009521/0.7123, allocations: 4.05 MB / 0.6504 GB, free: 15.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.7123, allocations: 0 / 0.6504 GB, free: 15.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.7124, allocations: 0 / 0.6504 GB, free: 15.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.191e-05/0.7124, allocations: 0 / 0.6504 GB, free: 15.25 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.01158/0.724, allocations: 2.425 MB / 0.6528 GB, free: 12.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.7241, allocations: 8.031 kB / 0.6528 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007298/0.7248, allocations: 206.3 kB / 0.653 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003855/0.7287, allocations: 485.5 kB / 0.6535 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/0.7311, allocations: 1.07 MB / 0.6545 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.397e-05/0.7312, allocations: 90.23 kB / 0.6546 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002644/0.7314, allocations: 111.9 kB / 0.6547 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004568/0.736, allocations: 2.853 MB / 0.6575 GB, free: 7.848 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.7361, allocations: 0 / 0.6575 GB, free: 7.848 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002297/0.7363, allocations: 55.97 kB / 0.6575 GB, free: 7.793 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001899/0.7365, allocations: 150.4 kB / 0.6577 GB, free: 7.645 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005996/0.7425, allocations: 3.586 MB / 0.6612 GB, free: 4.051 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.0169/0.7594, allocations: 8.397 MB / 0.6694 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003335/0.7628, allocations: 1.538 MB / 0.6709 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/0.7642, allocations: 0.9202 MB / 0.6718 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/0.7643, allocations: 59.14 kB / 0.6718 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002063/0.7663, allocations: 0.6268 MB / 0.6725 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=74): time 3.917e-06/0.7663, allocations: 0 / 0.6725 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74): time 0.01316/0.7795, allocations: 4.252 MB / 0.6766 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.22e-05/0.7796, allocations: 141.2 kB / 0.6767 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002378/0.782, allocations: 1.664 MB / 0.6784 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001941/0.7822, allocations: 45.7 kB / 0.6784 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005142/0.7828, allocations: 0.6492 MB / 0.679 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.783, allocations: 264.2 kB / 0.6793 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.417e-05/0.7831, allocations: 20 kB / 0.6793 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.7833, allocations: 349.9 kB / 0.6797 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.7846, allocations: 0.8646 MB / 0.6805 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.786, allocations: 1.076 MB / 0.6815 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.7875, allocations: 0.9906 MB / 0.6825 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.7875, allocations: 3.938 kB / 0.6825 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004632/0.7922, allocations: 2.682 MB / 0.6851 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.001221/0.7934, allocations: 2.14 MB / 0.6872 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/0.7934, allocations: 8 kB / 0.6872 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0201/0.8135, allocations: 3.753 MB / 0.6909 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/0.8149, allocations: 195.7 kB / 0.6911 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003785/0.8187, allocations: 2.259 MB / 0.6933 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/0.8209, allocations: 79.83 kB / 0.6934 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002328/0.8211, allocations: 87.92 kB / 0.6935 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.8212, allocations: 4 kB / 0.6935 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004306/0.8255, allocations: 2.159 MB / 0.6956 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.8255, allocations: 4.219 kB / 0.6956 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007553/0.8263, allocations: 172.7 kB / 0.6957 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.8276, allocations: 271.5 kB / 0.696 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003389/0.831, allocations: 2.269 MB / 0.6982 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/0.8329, allocations: 79.8 kB / 0.6983 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002338/0.8331, allocations: 87.92 kB / 0.6984 GB, free: 12.96 MB / 0.5294 GB 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.001379/0.8345, allocations: 0.5046 MB / 0.6989 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004544/0.835, allocations: 150.2 kB / 0.699 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005888/0.8409, allocations: 3.31 MB / 0.7022 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.8409, allocations: 11.89 kB / 0.7023 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.8409, allocations: 4.234 kB / 0.7023 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.8409, allocations: 3.984 kB / 0.7023 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005386/0.8463, allocations: 3.303 MB / 0.7055 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.8464, allocations: 11.92 kB / 0.7055 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/0.8468, allocations: 79.92 kB / 0.7056 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01161/0.8585, allocations: 2.584 MB / 0.7081 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002245/0.8587, allocations: 19.98 kB / 0.7081 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002492/0.8612, allocations: 1.9 MB / 0.71 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.8613, allocations: 0 / 0.71 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.31/1.171, allocations: 1.952 MB / 0.7119 GB, free: 200.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008845/1.172, allocations: 266.6 kB / 0.7121 GB, free: 200 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003238/1.173, allocations: 13.59 kB / 0.7121 GB, free: 200 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/1.174, allocations: 84.75 kB / 0.7122 GB, free: 200 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/1.174, allocations: 45.61 kB / 0.7123 GB, free: 200 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001733/1.174, allocations: 61.94 kB / 0.7123 GB, free: 200 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002264/1.177, allocations: 1.183 MB / 0.7135 GB, free: 199.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.1e-07/1.177, allocations: 0.9688 kB / 0.7135 GB, free: 199.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005363/1.182, allocations: 1.528 MB / 0.715 GB, free: 199.9 MB / 0.5294 GB 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.008607/1.191, allocations: 3.771 MB / 0.7187 GB, free: 198.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006982/1.198, allocations: 3.067 MB / 0.7217 GB, free: 197.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.54e-05/1.198, allocations: 3.031 kB / 0.7217 GB, free: 197.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001628/1.199, allocations: 0.7406 MB / 0.7224 GB, free: 197.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005332/1.205, allocations: 0.9376 MB / 0.7233 GB, free: 197.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009303/1.214, allocations: 8.122 MB / 0.7312 GB, free: 191 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009696/1.215, allocations: 1.326 MB / 0.7325 GB, free: 190.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003083/1.218, allocations: 0.932 MB / 0.7334 GB, free: 190.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006921/1.219, allocations: 0.5224 MB / 0.7339 GB, free: 189.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.112e-06/1.219, allocations: 0 / 0.7339 GB, free: 189.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.114/1.333, allocations: 75.68 MB / 0.8078 GB, free: 120.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/1.333, allocations: 263.2 kB / 0.8081 GB, free: 119.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.351/5.684, allocations: 4 kB / 0.8081 GB, free: 119.9 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat does not exist to compare? outputFormat=mat