Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sources.TestSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sources_TestSources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sources_TestSources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001591/0.001591, allocations: 178.3 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.056/2.056, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 94.61 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2656/0.2656, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.954e-05/1.954e-05, allocations: 0 / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1466, allocations: 58.86 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.105/9.252, allocations: 3.612 GB / 4.078 GB, free: 59.53 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/9.252, allocations: 86.11 kB / 4.078 GB, free: 59.49 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.791/16.04, allocations: 1.428 GB / 5.506 GB, free: 26.4 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.695e-06/16.04, allocations: 0 / 5.506 GB, free: 26.4 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002292/16.04, allocations: 55.7 kB / 5.506 GB, free: 26.39 MB / 0.573 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.03451/16.08, allocations: 7.098 MB / 5.513 GB, free: 22.25 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/16.08, allocations: 16.38 kB / 5.513 GB, free: 22.24 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00238/16.08, allocations: 280 kB / 5.513 GB, free: 22.12 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004514/16.08, allocations: 1.439 MB / 5.515 GB, free: 21.68 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/16.08, allocations: 59.38 kB / 5.515 GB, free: 21.68 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005332/16.09, allocations: 111 kB / 5.515 GB, free: 21.68 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006313/16.09, allocations: 2.871 MB / 5.518 GB, free: 21.67 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005438/16.1, allocations: 2.66 MB / 5.52 GB, free: 21.38 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.088e-05/16.1, allocations: 7.875 kB / 5.52 GB, free: 21.38 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002562/16.1, allocations: 6.281 kB / 5.52 GB, free: 21.38 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002282/16.1, allocations: 165.9 kB / 5.52 GB, free: 21.37 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02211/16.12, allocations: 11.71 MB / 5.532 GB, free: 15.96 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003691/16.12, allocations: 2.051 MB / 5.534 GB, free: 15.92 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/16.12, allocations: 0.882 MB / 5.535 GB, free: 15.91 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002215/16.13, allocations: 2.469 MB / 5.537 GB, free: 13.37 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.308e-05/16.13, allocations: 62.25 kB / 5.537 GB, free: 13.33 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00168/16.13, allocations: 190.6 kB / 5.537 GB, free: 13.26 MB / 0.573 GB Notification: Performance of pre-optimization done (n=145): time 4.518e-06/16.13, allocations: 0 / 5.537 GB, free: 13.26 MB / 0.573 GB Notification: Performance of matching and sorting (n=145): time 0.006785/16.14, allocations: 2.338 MB / 5.54 GB, free: 13.1 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/16.14, allocations: 200.4 kB / 5.54 GB, free: 12.88 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/16.14, allocations: 1.133 MB / 5.541 GB, free: 12.7 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003233/16.14, allocations: 32.61 kB / 5.541 GB, free: 12.67 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00061/16.14, allocations: 0.9631 MB / 5.542 GB, free: 12.2 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004581/16.14, allocations: 495.4 kB / 5.542 GB, free: 11.88 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/16.14, allocations: 0 / 5.542 GB, free: 11.88 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000138/16.14, allocations: 386.5 kB / 5.543 GB, free: 11.57 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/16.14, allocations: 0.9688 MB / 5.544 GB, free: 11.56 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/16.14, allocations: 1.36 MB / 5.545 GB, free: 11.15 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01495/16.16, allocations: 3.301 MB / 5.548 GB, free: 10.97 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.959e-05/16.16, allocations: 3.562 kB / 5.548 GB, free: 10.97 MB / 0.573 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.01983/16.18, allocations: 4.97 MB / 5.553 GB, free: 9.754 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001351/16.18, allocations: 3.996 MB / 5.557 GB, free: 5.531 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.032e-05/16.18, allocations: 9.594 kB / 5.557 GB, free: 5.531 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/16.18, allocations: 299.2 kB / 5.557 GB, free: 5.449 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002123/16.18, allocations: 460.2 kB / 5.558 GB, free: 5.41 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/16.19, allocations: 1.785 MB / 5.56 GB, free: 4.125 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002638/16.19, allocations: 106.3 kB / 5.56 GB, free: 4.117 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003028/16.19, allocations: 147.2 kB / 5.56 GB, free: 4.102 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/16.19, allocations: 6.281 kB / 5.56 GB, free: 4.102 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01693/16.2, allocations: 4.558 MB / 5.564 GB, free: 3.062 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-05/16.21, allocations: 7.656 kB / 5.564 GB, free: 3.062 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002896/16.21, allocations: 148.7 kB / 5.564 GB, free: 3.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002372/16.21, allocations: 0.5097 MB / 5.565 GB, free: 2.977 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/16.21, allocations: 1.398 MB / 5.566 GB, free: 1.828 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/16.21, allocations: 84.48 kB / 5.566 GB, free: 1.816 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003574/16.21, allocations: 159 kB / 5.566 GB, free: 1.793 MB / 0.573 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.0008313/16.21, allocations: 152.7 kB / 5.567 GB, free: 1.652 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006801/16.22, allocations: 2.308 MB / 5.569 GB, free: 0.9102 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005113/16.22, allocations: 169.5 kB / 5.569 GB, free: 0.8281 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/16.23, allocations: 3.763 MB / 5.573 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.99e-05/16.23, allocations: 22.42 kB / 5.573 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/16.23, allocations: 0 / 5.573 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.44e-05/16.23, allocations: 10.78 kB / 5.573 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01687/16.25, allocations: 7.754 MB / 5.58 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-05/16.25, allocations: 16.95 kB / 5.58 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/16.25, allocations: 298.9 kB / 5.581 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008695/16.25, allocations: 311 kB / 5.581 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/16.25, allocations: 45.8 kB / 5.581 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002911/16.26, allocations: 1.804 MB / 5.583 GB, free: 6.062 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.521e-05/16.26, allocations: 15.94 kB / 5.583 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008168/16.26, allocations: 3.428 MB / 5.586 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/16.27, allocations: 312.2 kB / 5.586 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003323/16.27, allocations: 15.89 kB / 5.586 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/16.27, allocations: 85.45 kB / 5.586 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002808/16.27, allocations: 147.7 kB / 5.587 GB, free: 2.125 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002984/16.27, allocations: 123.9 kB / 5.587 GB, free: 2.023 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001616/16.27, allocations: 0.9028 MB / 5.588 GB, free: 1.207 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.505e-06/16.27, allocations: 0 / 5.588 GB, free: 1.207 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01364/16.28, allocations: 3.062 MB / 5.591 GB, free: 14.28 MB / 0.6042 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.0244/16.31, allocations: 10.96 MB / 5.601 GB, free: 4.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.008319/16.32, allocations: 4.152 MB / 5.605 GB, free: 460 kB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.1e-05/16.32, allocations: 2.391 kB / 5.605 GB, free: 456 kB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.5717/16.89, allocations: 1.109 MB / 5.606 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005645/16.89, allocations: 0.7708 MB / 5.607 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/16.91, allocations: 4.501 MB / 5.612 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001449/16.91, allocations: 1.652 MB / 5.613 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.004986/16.91, allocations: 1.024 MB / 5.614 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001672/16.92, allocations: 0.8388 MB / 5.615 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of SimCode: time 1.854e-06/16.92, allocations: 0 / 5.615 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1981/17.11, allocations: 101.4 MB / 5.714 GB, free: 49.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/17.11, allocations: 180.9 kB / 5.714 GB, free: 49.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.357/23.47, allocations: 3.188 kB / 5.714 GB, free: 49.06 MB / 0.6042 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sources.TestSources.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sources.TestSources_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sources_TestSources_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sources_TestSources.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sources.TestSources_res.mat does not exist to compare? outputFormat=mat