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.00173/0.001731, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.671/1.671, allocations: 221.5 MB / 230.7 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 97.3 kB / 281.6 MB, free: 5.305 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.2464/0.2464, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.312e-05/2.302e-05, allocations: 224 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1579, allocations: 61.93 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.909/9.067, allocations: 3.552 GB / 4.047 GB, free: 15 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/9.068, allocations: 84.83 kB / 4.047 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.351/15.42, allocations: 1.393 GB / 5.44 GB, free: 40 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.813e-06/15.42, allocations: 0 / 5.44 GB, free: 40 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001579/15.42, allocations: 59.8 kB / 5.441 GB, free: 39.99 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.02832/15.45, allocations: 6.805 MB / 5.447 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.584e-05/15.45, allocations: 15.05 kB / 5.447 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/15.45, allocations: 275.9 kB / 5.447 GB, free: 36.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003339/15.45, allocations: 1.441 MB / 5.449 GB, free: 35.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.868e-05/15.45, allocations: 65.45 kB / 5.449 GB, free: 35.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002738/15.45, allocations: 111 kB / 5.449 GB, free: 35.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005913/15.46, allocations: 2.85 MB / 5.452 GB, free: 35.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005469/15.46, allocations: 2.631 MB / 5.454 GB, free: 35.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.331e-05/15.46, allocations: 5.812 kB / 5.454 GB, free: 35.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002505/15.46, allocations: 2.969 kB / 5.454 GB, free: 35.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002175/15.46, allocations: 165.9 kB / 5.455 GB, free: 35.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01775/15.48, allocations: 11.73 MB / 5.466 GB, free: 30.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003114/15.49, allocations: 2.039 MB / 5.468 GB, free: 29.97 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/15.49, allocations: 0.885 MB / 5.469 GB, free: 29.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001611/15.49, allocations: 2.475 MB / 5.471 GB, free: 27.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/15.49, allocations: 54.53 kB / 5.471 GB, free: 27.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001284/15.49, allocations: 187.3 kB / 5.472 GB, free: 27.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=145): time 5.06e-06/15.49, allocations: 0 / 5.472 GB, free: 27.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=145): time 0.005479/15.49, allocations: 2.284 MB / 5.474 GB, free: 27.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/15.49, allocations: 197.8 kB / 5.474 GB, free: 26.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/15.5, allocations: 1.142 MB / 5.475 GB, free: 26.66 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002331/15.5, allocations: 29.17 kB / 5.475 GB, free: 26.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005201/15.5, allocations: 0.9585 MB / 5.476 GB, free: 26.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003853/15.5, allocations: 492.6 kB / 5.476 GB, free: 25.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/15.5, allocations: 2.844 kB / 5.476 GB, free: 25.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001162/15.5, allocations: 389.7 kB / 5.477 GB, free: 25.53 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/15.5, allocations: 0.9589 MB / 5.478 GB, free: 25.53 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/15.5, allocations: 1.354 MB / 5.479 GB, free: 25.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006049/15.51, allocations: 1.977 MB / 5.481 GB, free: 25.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.929e-05/15.51, allocations: 3 kB / 5.481 GB, free: 25.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.009024/15.52, allocations: 3.619 MB / 5.485 GB, free: 24.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008755/15.52, allocations: 3.996 MB / 5.488 GB, free: 20.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/15.52, allocations: 8.781 kB / 5.488 GB, free: 20.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008014/15.52, allocations: 289.2 kB / 5.489 GB, free: 20.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/15.52, allocations: 455 kB / 5.489 GB, free: 20.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/15.52, allocations: 1.756 MB / 5.491 GB, free: 19.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002345/15.52, allocations: 110.6 kB / 5.491 GB, free: 19.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002831/15.52, allocations: 119.5 kB / 5.491 GB, free: 19.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/15.52, allocations: 2.469 kB / 5.491 GB, free: 19.61 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00779/15.53, allocations: 3.209 MB / 5.494 GB, free: 19.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/15.53, allocations: 12.06 kB / 5.494 GB, free: 19.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002572/15.53, allocations: 136.7 kB / 5.494 GB, free: 19.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/15.53, allocations: 0.4935 MB / 5.495 GB, free: 19.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/15.54, allocations: 1.377 MB / 5.496 GB, free: 18.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/15.54, allocations: 87.66 kB / 5.496 GB, free: 18.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002518/15.54, allocations: 129 kB / 5.496 GB, free: 18.39 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 () * 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.0007019/15.54, allocations: 152.1 kB / 5.497 GB, free: 18.25 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005352/15.54, allocations: 2.254 MB / 5.499 GB, free: 18.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003038/15.54, allocations: 175.1 kB / 5.499 GB, free: 18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006906/15.55, allocations: 3.483 MB / 5.502 GB, free: 17.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/15.55, allocations: 16.28 kB / 5.502 GB, free: 17.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/15.55, allocations: 0 / 5.502 GB, free: 17.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.986e-05/15.55, allocations: 13.44 kB / 5.502 GB, free: 17.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/15.56, allocations: 7.724 MB / 5.51 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/15.56, allocations: 8.031 kB / 5.51 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/15.56, allocations: 295.4 kB / 5.51 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007408/15.57, allocations: 296.8 kB / 5.511 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/15.57, allocations: 35.89 kB / 5.511 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/15.57, allocations: 1.767 MB / 5.512 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.457e-05/15.57, allocations: 20.58 kB / 5.512 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006057/15.57, allocations: 3.362 MB / 5.516 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007197/15.57, allocations: 316.9 kB / 5.516 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002811/15.57, allocations: 10.28 kB / 5.516 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00161/15.58, allocations: 90.72 kB / 5.516 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002318/15.58, allocations: 135.8 kB / 5.516 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002158/15.58, allocations: 109.8 kB / 5.516 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001225/15.58, allocations: 0.899 MB / 5.517 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/15.58, allocations: 96 / 5.517 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.009657/15.59, allocations: 2.778 MB / 5.52 GB, free: 12.07 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.01751/15.61, allocations: 10.36 MB / 5.53 GB, free: 6.078 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.006716/15.61, allocations: 4.119 MB / 5.534 GB, free: 4.223 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.725e-05/15.61, allocations: 8.266 kB / 5.534 GB, free: 4.219 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/15.61, allocations: 1.03 MB / 5.535 GB, free: 3.875 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004716/15.62, allocations: 0.7609 MB / 5.536 GB, free: 3.742 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01581/15.63, allocations: 4.364 MB / 5.54 GB, free: 1.805 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001703/15.64, allocations: 1.658 MB / 5.542 GB, free: 0.9961 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.004875/15.64, allocations: 1.161 MB / 5.543 GB, free: 0.7383 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/15.64, allocations: 0.8013 MB / 5.543 GB, free: 16 kB / 0.6042 GB Notification: Performance of SimCode: time 1.002e-06/15.64, allocations: 0 / 5.543 GB, free: 16 kB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7779/16.42, allocations: 96.54 MB / 5.638 GB, free: 42.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/16.42, allocations: 180.1 kB / 5.638 GB, free: 42.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.158/22.58, allocations: 3.156 kB / 5.638 GB, free: 42.09 MB / 0.6198 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