Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sources.TestSources.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sources_TestSources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sources_TestSources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 185.6 kB / 17.06 MB, free: 5.07 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001047, allocations: 88.73 kB / 292.1 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.5068/0.5068, allocations: 44.22 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003808, allocations: 8 kB / 460 MB, free: 1.453 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5372/0.5376, allocations: 61.9 MB / 0.5096 GB, free: 38.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.933/9.471, allocations: 3.553 GB / 4.063 GB, free: 58.62 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/9.471, allocations: 95.16 kB / 4.063 GB, free: 58.57 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.402/15.87, allocations: 1.409 GB / 5.471 GB, free: 32.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.967e-06/15.87, allocations: 3.562 kB / 5.471 GB, free: 32.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0003069/15.87, allocations: 60.27 kB / 5.471 GB, free: 32.46 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.03901/15.91, allocations: 7.039 MB / 5.478 GB, free: 28.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.971e-05/15.91, allocations: 10.97 kB / 5.478 GB, free: 28.96 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002225/15.92, allocations: 280.5 kB / 5.479 GB, free: 28.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/15.92, allocations: 275.6 kB / 5.479 GB, free: 28.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004955/15.92, allocations: 1.448 MB / 5.48 GB, free: 28.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/15.92, allocations: 146.2 kB / 5.48 GB, free: 28.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000465/15.92, allocations: 183.2 kB / 5.481 GB, free: 28.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007209/15.93, allocations: 2.963 MB / 5.483 GB, free: 28.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.769e-05/15.93, allocations: 0 / 5.483 GB, free: 28.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003956/15.93, allocations: 86.7 kB / 5.484 GB, free: 28.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002739/15.93, allocations: 163.9 kB / 5.484 GB, free: 28.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005973/15.94, allocations: 3.226 MB / 5.487 GB, free: 28.08 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02111/15.96, allocations: 11.29 MB / 5.498 GB, free: 23.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004379/15.96, allocations: 2.308 MB / 5.5 GB, free: 23.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002659/15.97, allocations: 3.406 MB / 5.503 GB, free: 19.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.51e-05/15.97, allocations: 57.44 kB / 5.503 GB, free: 19.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002151/15.97, allocations: 272.4 kB / 5.504 GB, free: 19.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=155): time 7.444e-06/15.97, allocations: 2.188 kB / 5.504 GB, free: 19.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=155): time 0.007619/15.97, allocations: 3.465 MB / 5.507 GB, free: 19.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.861e-05/15.98, allocations: 198.6 kB / 5.507 GB, free: 19.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003299/15.98, allocations: 1.703 MB / 5.509 GB, free: 18.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000508/15.98, allocations: 61.3 kB / 5.509 GB, free: 18.87 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008345/15.98, allocations: 0.9008 MB / 5.51 GB, free: 18.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005524/15.98, allocations: 0.5327 MB / 5.51 GB, free: 18.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/15.98, allocations: 40.56 kB / 5.51 GB, free: 18.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001346/15.98, allocations: 383.8 kB / 5.511 GB, free: 17.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001853/15.98, allocations: 1.047 MB / 5.512 GB, free: 17.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/15.98, allocations: 1.432 MB / 5.513 GB, free: 17.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002063/15.99, allocations: 1.384 MB / 5.515 GB, free: 17.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/15.99, allocations: 5.594 kB / 5.515 GB, free: 17.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.005983/15.99, allocations: 3.229 MB / 5.518 GB, free: 16.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001178/15.99, allocations: 4.116 MB / 5.522 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/15.99, allocations: 11.09 kB / 5.522 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003839/16, allocations: 0.6816 MB / 5.522 GB, free: 12.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002675/16, allocations: 447 kB / 5.523 GB, free: 12.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/16, allocations: 1.625 MB / 5.524 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003499/16.01, allocations: 149 kB / 5.525 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006113/16.01, allocations: 124.2 kB / 5.525 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/16.01, allocations: 7.125 kB / 5.525 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00563/16.01, allocations: 2.903 MB / 5.528 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-05/16.01, allocations: 10.66 kB / 5.528 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/16.01, allocations: 304.1 kB / 5.528 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0024/16.02, allocations: 0.497 MB / 5.528 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009756/16.02, allocations: 1.314 MB / 5.53 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002852/16.02, allocations: 140.5 kB / 5.53 GB, free: 10.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003466/16.02, allocations: 123.5 kB / 5.53 GB, free: 10.26 MB / 0.6042 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 () * Number of clocked 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.001872/16.02, allocations: 0.6041 MB / 5.53 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008277/16.02, allocations: 213.8 kB / 5.531 GB, free: 9.957 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007531/16.03, allocations: 3.799 MB / 5.534 GB, free: 9.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.616e-05/16.03, allocations: 19.91 kB / 5.534 GB, free: 9.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/16.03, allocations: 0 / 5.534 GB, free: 9.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/16.03, allocations: 9.172 kB / 5.534 GB, free: 9.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/16.04, allocations: 5.826 MB / 5.54 GB, free: 8.727 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.169e-05/16.04, allocations: 6.625 kB / 5.54 GB, free: 8.727 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/16.05, allocations: 298.8 kB / 5.54 GB, free: 8.727 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003574/16.05, allocations: 0.6447 MB / 5.541 GB, free: 8.711 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002222/16.05, allocations: 60.88 kB / 5.541 GB, free: 8.707 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002266/16.05, allocations: 1.616 MB / 5.543 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/16.05, allocations: 7.5 kB / 5.543 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007156/16.06, allocations: 3.169 MB / 5.546 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002151/16.06, allocations: 373.1 kB / 5.546 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001187/16.06, allocations: 36.66 kB / 5.546 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002875/16.06, allocations: 131.3 kB / 5.546 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003018/16.07, allocations: 135.9 kB / 5.546 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004337/16.07, allocations: 109.3 kB / 5.547 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.003275/16.07, allocations: 1.422 MB / 5.548 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.21e-07/16.07, allocations: 0 / 5.548 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.01446/16.08, allocations: 2.849 MB / 5.551 GB, free: 21.62 MB / 0.6198 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 () * Number of clocked 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.02211/16.11, allocations: 8.779 MB / 5.559 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0121/16.12, allocations: 4.407 MB / 5.564 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.27e-05/16.12, allocations: 7.422 kB / 5.564 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002651/16.12, allocations: 1.139 MB / 5.565 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007274/16.13, allocations: 1.21 MB / 5.566 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02649/16.15, allocations: 13.69 MB / 5.579 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003012/16.16, allocations: 1.656 MB / 5.581 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.006748/16.16, allocations: 1.218 MB / 5.582 GB, free: 6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002229/16.17, allocations: 0.8608 MB / 5.583 GB, free: 5.992 MB / 0.6198 GB Notification: Performance of SimCode: time 1.422e-06/16.17, allocations: 2.781 kB / 5.583 GB, free: 5.992 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8415/17.01, allocations: 123.8 MB / 5.704 GB, free: 52.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000336/17.01, allocations: 259 kB / 5.704 GB, free: 52.14 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.868/23.88, allocations: 4 kB / 5.704 GB, free: 52.14 MB / 0.6355 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sources.TestSources.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sources.TestSources_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sources_TestSources_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sources_TestSources.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sources.TestSources_res.mat does not exist to compare? outputFormat=mat