Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sources_TestSources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sources_TestSources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001407, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.565/1.565, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009535/0.0009536, allocations: 99.83 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2545/0.2545, allocations: 45.15 MB / 383.8 MB, free: 296 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.183e-05/2.186e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1455, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.062/9.208, allocations: 3.546 GB / 4.05 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/9.208, allocations: 90.97 kB / 4.05 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.276/15.48, allocations: 1.374 GB / 5.425 GB, free: 29.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.885e-06/15.48, allocations: 1.875 kB / 5.425 GB, free: 29.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0004451/15.48, allocations: 58.52 kB / 5.425 GB, free: 29.45 MB / 0.6042 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.04152/15.53, allocations: 6.871 MB / 5.431 GB, free: 25.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.997e-05/15.53, allocations: 9.406 kB / 5.431 GB, free: 25.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002796/15.53, allocations: 276.4 kB / 5.432 GB, free: 25.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006412/15.54, allocations: 1.438 MB / 5.433 GB, free: 24.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/15.54, allocations: 68.75 kB / 5.433 GB, free: 24.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001292/15.54, allocations: 109.4 kB / 5.433 GB, free: 24.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008125/15.55, allocations: 2.848 MB / 5.436 GB, free: 24.81 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009187/15.55, allocations: 2.623 MB / 5.439 GB, free: 24.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.625e-05/15.55, allocations: 14.31 kB / 5.439 GB, free: 24.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009834/15.56, allocations: 2.375 kB / 5.439 GB, free: 24.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000289/15.56, allocations: 162.2 kB / 5.439 GB, free: 24.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03017/15.59, allocations: 11.75 MB / 5.45 GB, free: 19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005084/15.59, allocations: 2.042 MB / 5.452 GB, free: 18.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001722/15.59, allocations: 0.8857 MB / 5.453 GB, free: 18.83 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002528/15.6, allocations: 2.467 MB / 5.456 GB, free: 16.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000111/15.6, allocations: 54.75 kB / 5.456 GB, free: 16.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002427/15.6, allocations: 191.3 kB / 5.456 GB, free: 16.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=145): time 1.157e-05/15.6, allocations: 0 / 5.456 GB, free: 16.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=145): time 0.009238/15.61, allocations: 2.284 MB / 5.458 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/15.61, allocations: 201.5 kB / 5.458 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003201/15.61, allocations: 1.137 MB / 5.459 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0004676/15.61, allocations: 33.67 kB / 5.459 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001032/15.61, allocations: 0.9594 MB / 5.46 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007801/15.61, allocations: 493.4 kB / 5.461 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002988/15.61, allocations: 3.438 kB / 5.461 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002388/15.61, allocations: 381.9 kB / 5.461 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/15.62, allocations: 0.9644 MB / 5.462 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002246/15.62, allocations: 1.345 MB / 5.463 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008739/15.63, allocations: 2.178 MB / 5.466 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.907e-05/15.63, allocations: 3.875 kB / 5.466 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.01319/15.64, allocations: 3.839 MB / 5.469 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001311/15.64, allocations: 3.998 MB / 5.473 GB, free: 5.973 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.14e-05/15.64, allocations: 9.906 kB / 5.473 GB, free: 5.973 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009493/15.64, allocations: 290.2 kB / 5.473 GB, free: 5.887 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002193/15.64, allocations: 453.7 kB / 5.474 GB, free: 5.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/15.65, allocations: 1.75 MB / 5.476 GB, free: 4.562 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00307/15.65, allocations: 104.9 kB / 5.476 GB, free: 4.547 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006386/15.65, allocations: 133.4 kB / 5.476 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/15.65, allocations: 7.922 kB / 5.476 GB, free: 4.523 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01143/15.66, allocations: 3.41 MB / 5.479 GB, free: 1.879 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.236e-05/15.66, allocations: 12 kB / 5.479 GB, free: 1.867 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003309/15.66, allocations: 142.4 kB / 5.479 GB, free: 1.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/15.67, allocations: 499.5 kB / 5.48 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/15.67, allocations: 1.373 MB / 5.481 GB, free: 0 / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003125/15.67, allocations: 92.81 kB / 5.481 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007205/15.67, allocations: 129.5 kB / 5.481 GB, free: 15.84 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 5 (traceSubstance.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance4.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 228 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001559/15.67, allocations: 152.4 kB / 5.481 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008972/15.68, allocations: 2.245 MB / 5.484 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009283/15.68, allocations: 170 kB / 5.484 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009838/15.69, allocations: 3.495 MB / 5.487 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.565e-05/15.69, allocations: 22.05 kB / 5.487 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.269e-05/15.69, allocations: 3.938 kB / 5.487 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.047e-05/15.69, allocations: 6.984 kB / 5.487 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01943/15.71, allocations: 7.728 MB / 5.495 GB, free: 4.164 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.199e-05/15.71, allocations: 8 kB / 5.495 GB, free: 4.156 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/15.71, allocations: 296.1 kB / 5.495 GB, free: 3.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009258/15.71, allocations: 293 kB / 5.495 GB, free: 3.672 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002847/15.72, allocations: 43.45 kB / 5.495 GB, free: 3.637 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002777/15.72, allocations: 1.77 MB / 5.497 GB, free: 1.965 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.971e-05/15.72, allocations: 19.64 kB / 5.497 GB, free: 1.949 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/15.73, allocations: 3.458 MB / 5.501 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/15.73, allocations: 310.7 kB / 5.501 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008995/15.73, allocations: 12 kB / 5.501 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002618/15.73, allocations: 91.98 kB / 5.501 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003712/15.73, allocations: 140.7 kB / 5.501 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004801/15.73, allocations: 110.1 kB / 5.501 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002342/15.74, allocations: 0.8955 MB / 5.502 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.01e-07/15.74, allocations: 0 / 5.502 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01946/15.76, allocations: 2.817 MB / 5.505 GB, free: 10.69 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (152): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.02563/15.78, allocations: 10.41 MB / 5.515 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.6339/16.42, allocations: 4.104 MB / 5.519 GB, free: 60.31 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.648e-05/16.42, allocations: 7.109 kB / 5.519 GB, free: 60.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002049/16.42, allocations: 1.027 MB / 5.52 GB, free: 60.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004762/16.42, allocations: 0.7682 MB / 5.521 GB, free: 60.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/16.44, allocations: 4.373 MB / 5.525 GB, free: 59.49 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001508/16.44, allocations: 1.655 MB / 5.527 GB, free: 58.76 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.005154/16.44, allocations: 1.161 MB / 5.528 GB, free: 58.74 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001507/16.45, allocations: 0.8062 MB / 5.529 GB, free: 58.74 MB / 0.6355 GB Notification: Performance of SimCode: time 1.312e-06/16.45, allocations: 0.8438 kB / 5.529 GB, free: 58.74 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2027/16.65, allocations: 96.46 MB / 5.623 GB, free: 54.31 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003116/16.65, allocations: 180.1 kB / 5.623 GB, free: 54.12 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.038/22.69, allocations: 2.953 kB / 5.623 GB, free: 54.12 MB / 0.6355 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sources_TestSources_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sources_TestSources.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources_res.mat does not exist to compare? outputFormat=mat