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.001274/0.001274, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.258/1.258, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009366/0.0009366, allocations: 94.3 kB / 292.1 MB, free: 6.004 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1726/0.1726, allocations: 45.15 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.729e-05/2.751e-05, allocations: 4 kB / 460.5 MB, free: 69.96 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09604/0.09609, allocations: 63.24 MB / 0.5115 GB, free: 6.727 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.244/8.34, allocations: 3.546 GB / 4.058 GB, free: 64.58 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/8.34, allocations: 83.64 kB / 4.058 GB, free: 64.54 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.476/13.82, allocations: 1.387 GB / 5.445 GB, free: 38.03 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.864e-06/13.82, allocations: 0 / 5.445 GB, free: 38.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001998/13.82, allocations: 58.02 kB / 5.445 GB, free: 38.03 MB / 0.6198 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.02472/13.84, allocations: 6.878 MB / 5.452 GB, free: 35.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/13.84, allocations: 9.25 kB / 5.452 GB, free: 35.04 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006847/13.84, allocations: 270.6 kB / 5.452 GB, free: 34.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/13.84, allocations: 277.3 kB / 5.452 GB, free: 34.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003063/13.85, allocations: 1.44 MB / 5.454 GB, free: 34.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/13.85, allocations: 141.2 kB / 5.454 GB, free: 34.47 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003299/13.85, allocations: 185.1 kB / 5.454 GB, free: 34.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00447/13.85, allocations: 2.895 MB / 5.457 GB, free: 34.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/13.85, allocations: 3.75 kB / 5.457 GB, free: 34.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002492/13.85, allocations: 82.06 kB / 5.457 GB, free: 34.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001644/13.85, allocations: 162.3 kB / 5.457 GB, free: 34.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004494/13.86, allocations: 3.103 MB / 5.46 GB, free: 34.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01646/13.87, allocations: 11.3 MB / 5.471 GB, free: 29.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003903/13.88, allocations: 2.255 MB / 5.473 GB, free: 29.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/13.88, allocations: 0.964 MB / 5.474 GB, free: 29.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002154/13.88, allocations: 3.409 MB / 5.478 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/13.88, allocations: 62.25 kB / 5.478 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001437/13.88, allocations: 270.7 kB / 5.478 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=155): time 3.767e-06/13.88, allocations: 1.312 kB / 5.478 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=155): time 0.003467/13.89, allocations: 2.22 MB / 5.48 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/13.89, allocations: 203.8 kB / 5.48 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/13.89, allocations: 1.676 MB / 5.482 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001603/13.89, allocations: 62.14 kB / 5.482 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000479/13.89, allocations: 0.9063 MB / 5.483 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002977/13.89, allocations: 0.5275 MB / 5.483 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/13.89, allocations: 42.44 kB / 5.483 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.247e-05/13.89, allocations: 384.7 kB / 5.484 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/13.89, allocations: 0.9936 MB / 5.485 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/13.89, allocations: 1.383 MB / 5.486 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/13.89, allocations: 1.328 MB / 5.487 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/13.89, allocations: 3.094 kB / 5.487 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.004367/13.9, allocations: 3.121 MB / 5.49 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005947/13.9, allocations: 4.12 MB / 5.495 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/13.9, allocations: 8.625 kB / 5.495 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003366/13.9, allocations: 0.6615 MB / 5.495 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/13.9, allocations: 445.2 kB / 5.496 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/13.9, allocations: 1.621 MB / 5.497 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002248/13.91, allocations: 151.2 kB / 5.497 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002472/13.91, allocations: 127.4 kB / 5.497 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.295e-06/13.91, allocations: 3.188 kB / 5.497 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00403/13.91, allocations: 2.784 MB / 5.5 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/13.91, allocations: 22.8 kB / 5.5 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/13.91, allocations: 295.8 kB / 5.5 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001935/13.91, allocations: 0.4949 MB / 5.501 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006949/13.91, allocations: 1.309 MB / 5.502 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/13.92, allocations: 141.4 kB / 5.502 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002203/13.92, allocations: 121 kB / 5.502 GB, free: 16.55 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.0005156/13.92, allocations: 229 kB / 5.503 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003568/13.92, allocations: 215.6 kB / 5.503 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005156/13.92, allocations: 3.708 MB / 5.507 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/13.92, allocations: 16.94 kB / 5.507 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/13.92, allocations: 0 / 5.507 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/13.92, allocations: 9.656 kB / 5.507 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007868/13.93, allocations: 5.72 MB / 5.512 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/13.93, allocations: 7.469 kB / 5.512 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/13.93, allocations: 303.9 kB / 5.512 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003019/13.94, allocations: 0.6315 MB / 5.513 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002104/13.94, allocations: 57.48 kB / 5.513 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/13.94, allocations: 1.616 MB / 5.515 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/13.94, allocations: 11.09 kB / 5.515 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004271/13.94, allocations: 3.077 MB / 5.518 GB, free: 28.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007913/13.94, allocations: 366.9 kB / 5.518 GB, free: 28.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003294/13.94, allocations: 43.47 kB / 5.518 GB, free: 28.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001596/13.94, allocations: 125.5 kB / 5.518 GB, free: 28.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/13.94, allocations: 137 kB / 5.518 GB, free: 28.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002023/13.94, allocations: 106.2 kB / 5.518 GB, free: 28.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001681/13.95, allocations: 1.397 MB / 5.52 GB, free: 28.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/13.95, allocations: 1.344 kB / 5.52 GB, free: 28.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.007076/13.95, allocations: 2.875 MB / 5.523 GB, free: 28 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 158 * 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.01164/13.96, allocations: 8.726 MB / 5.531 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006381/13.97, allocations: 4.316 MB / 5.535 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/13.97, allocations: 3.984 kB / 5.535 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001653/13.97, allocations: 1.102 MB / 5.536 GB, free: 23.42 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006046/13.98, allocations: 1.21 MB / 5.538 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/13.99, allocations: 4.572 MB / 5.542 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/13.99, allocations: 1.662 MB / 5.544 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.004118/13.99, allocations: 1.445 MB / 5.545 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/14, allocations: 0.8414 MB / 5.546 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of SimCode: time 1.583e-06/14, allocations: 0 / 5.546 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1852/14.18, allocations: 132.5 MB / 5.675 GB, free: 1.188 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/14.18, allocations: 227.9 kB / 5.675 GB, free: 0.9609 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.534/20.71, allocations: 3.516 kB / 5.675 GB, free: 0.9609 MB / 0.6511 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