Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 97.83 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001142, allocations: 199 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.3 MB / 245.9 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2468/0.2468, allocations: 45.91 MB / 344 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.0003633, allocations: 8 kB / 418.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1548, allocations: 63.47 MB / 481.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1): time 0.5/0.6548, allocations: 157 MB / 0.6236 GB, free: 8.277 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02102/0.6758, allocations: 13.89 MB / 0.6372 GB, free: 10.36 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001645/0.6775, allocations: 43.62 kB / 0.6372 GB, free: 10.32 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.679, allocations: 441.9 kB / 0.6376 GB, free: 9.887 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008318/0.6873, allocations: 2.458 MB / 0.64 GB, free: 7.426 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009287/0.6966, allocations: 2.863 MB / 0.6428 GB, free: 4.574 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003971/0.7006, allocations: 1.757 MB / 0.6445 GB, free: 2.816 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002522/0.7031, allocations: 1.497 MB / 0.646 GB, free: 1.309 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004175/0.7073, allocations: 1.649 MB / 0.6476 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007989/0.7153, allocations: 3.346 MB / 0.6509 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006034/0.716, allocations: 120 kB / 0.651 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01493/0.7309, allocations: 4.354 MB / 0.6552 GB, free: 7.828 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002997/0.734, allocations: 0.8185 MB / 0.656 GB, free: 7.008 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002119/0.7362, allocations: 360.9 kB / 0.6564 GB, free: 6.648 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0115/0.7477, allocations: 4.054 MB / 0.6603 GB, free: 2.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.7478, allocations: 0 / 0.6603 GB, free: 2.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.7478, allocations: 4 kB / 0.6603 GB, free: 2.586 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.962e-05/0.7478, allocations: 0 / 0.6603 GB, free: 2.586 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.01162/0.7595, allocations: 2.429 MB / 0.6627 GB, free: 104 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/0.7596, allocations: 16.03 kB / 0.6627 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009385/0.7605, allocations: 202.3 kB / 0.6629 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004247/0.7648, allocations: 0.5093 MB / 0.6634 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002969/0.7677, allocations: 1.078 MB / 0.6645 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.7679, allocations: 94.22 kB / 0.6646 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003713/0.7682, allocations: 108 kB / 0.6647 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005441/0.7737, allocations: 2.85 MB / 0.6674 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.7738, allocations: 0 / 0.6674 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000253/0.774, allocations: 59.98 kB / 0.6675 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002074/0.7742, allocations: 138.5 kB / 0.6676 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006297/0.7805, allocations: 3.582 MB / 0.6711 GB, free: 7.348 MB / 0.4981 GB 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.01685/0.7974, allocations: 8.394 MB / 0.6793 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003464/0.8009, allocations: 1.538 MB / 0.6808 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001572/0.8025, allocations: 0.9124 MB / 0.6817 GB, free: 12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/0.8026, allocations: 55.2 kB / 0.6818 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002408/0.805, allocations: 0.6229 MB / 0.6824 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=74): time 6.523e-06/0.805, allocations: 0 / 0.6824 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=74): time 0.0175/0.8225, allocations: 4.257 MB / 0.6865 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.8227, allocations: 141.1 kB / 0.6867 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003626/0.8263, allocations: 1.664 MB / 0.6883 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003969/0.8267, allocations: 45.7 kB / 0.6883 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000797/0.8275, allocations: 0.6492 MB / 0.689 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004821/0.828, allocations: 268.2 kB / 0.6892 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.8282, allocations: 20 kB / 0.6892 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000224/0.8284, allocations: 345.9 kB / 0.6896 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002202/0.8306, allocations: 0.8685 MB / 0.6904 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002383/0.833, allocations: 1.072 MB / 0.6915 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002394/0.8355, allocations: 0.9945 MB / 0.6924 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.8355, allocations: 4 kB / 0.6924 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005897/0.8414, allocations: 2.686 MB / 0.6951 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.001164/0.8426, allocations: 2.144 MB / 0.6972 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/0.8426, allocations: 15.98 kB / 0.6972 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02801/0.8707, allocations: 3.738 MB / 0.7008 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.872, allocations: 191.7 kB / 0.701 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003948/0.8759, allocations: 2.267 MB / 0.7032 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/0.8781, allocations: 75.8 kB / 0.7033 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/0.8783, allocations: 83.92 kB / 0.7034 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.8784, allocations: 11.89 kB / 0.7034 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004032/0.8824, allocations: 2.152 MB / 0.7055 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.8824, allocations: 8.172 kB / 0.7055 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006888/0.8831, allocations: 192.6 kB / 0.7057 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.8844, allocations: 267.6 kB / 0.7059 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003079/0.8875, allocations: 2.254 MB / 0.7081 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/0.8892, allocations: 75.8 kB / 0.7082 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002341/0.8895, allocations: 79.92 kB / 0.7083 GB, free: 288 kB / 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.3076/1.197, allocations: 0.5011 MB / 0.7088 GB, free: 192.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005213/1.198, allocations: 152.2 kB / 0.7089 GB, free: 192.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006919/1.205, allocations: 3.326 MB / 0.7122 GB, free: 192 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/1.205, allocations: 11.16 kB / 0.7122 GB, free: 192 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.205, allocations: 0 / 0.7122 GB, free: 192 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/1.205, allocations: 4.656 kB / 0.7122 GB, free: 192 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006505/1.211, allocations: 3.303 MB / 0.7154 GB, free: 191 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/1.211, allocations: 0 / 0.7154 GB, free: 191 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004582/1.212, allocations: 85.5 kB / 0.7155 GB, free: 191 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01208/1.224, allocations: 2.584 MB / 0.718 GB, free: 190.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002254/1.224, allocations: 20.14 kB / 0.718 GB, free: 190.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002658/1.227, allocations: 1.908 MB / 0.7199 GB, free: 189.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.227, allocations: 0 / 0.7199 GB, free: 189.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003942/1.231, allocations: 1.948 MB / 0.7218 GB, free: 188.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008463/1.231, allocations: 269.3 kB / 0.7221 GB, free: 188.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000715/1.232, allocations: 20.45 kB / 0.7221 GB, free: 188.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001891/1.234, allocations: 83.41 kB / 0.7222 GB, free: 188.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003243/1.234, allocations: 44.59 kB / 0.7222 GB, free: 188.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002935/1.235, allocations: 61.69 kB / 0.7223 GB, free: 188.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00232/1.237, allocations: 1.179 MB / 0.7234 GB, free: 188.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.4e-07/1.237, allocations: 0 / 0.7234 GB, free: 188.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006303/1.243, allocations: 1.536 MB / 0.7249 GB, free: 188.1 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.00986/1.253, allocations: 3.79 MB / 0.7286 GB, free: 186.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00597/1.259, allocations: 3.068 MB / 0.7316 GB, free: 185.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/1.259, allocations: 0.6562 kB / 0.7316 GB, free: 185.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001326/1.261, allocations: 0.7537 MB / 0.7323 GB, free: 185.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004684/1.265, allocations: 0.9198 MB / 0.7332 GB, free: 184.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008049/1.274, allocations: 8.117 MB / 0.7412 GB, free: 177.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008891/1.274, allocations: 1.328 MB / 0.7425 GB, free: 176.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002822/1.277, allocations: 0.9348 MB / 0.7434 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007703/1.278, allocations: 0.514 MB / 0.7439 GB, free: 176.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.482e-06/1.278, allocations: 0 / 0.7439 GB, free: 176.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1107/1.389, allocations: 75.57 MB / 0.8177 GB, free: 100.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/1.389, allocations: 255 kB / 0.8179 GB, free: 100.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.254/5.643, allocations: 4.062 kB / 0.8179 GB, free: 100.5 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat does not exist to compare? outputFormat=mat