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.001839/0.001839, allocations: 183.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.786/1.786, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008915/0.0008916, allocations: 96.8 kB / 267.1 MB, free: 9.27 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.4497/0.4497, allocations: 43.47 MB / 358.6 MB, free: 52.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.547e-05/4.55e-05, allocations: 11.98 kB / 425.4 MB, free: 8.773 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1389, allocations: 58.83 MB / 484.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.491/8.63, allocations: 3.612 GB / 4.085 GB, free: 89.71 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/8.631, allocations: 83.95 kB / 4.085 GB, free: 89.63 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.969/15.6, allocations: 1.441 GB / 5.527 GB, free: 34.54 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.786e-06/15.6, allocations: 1.031 kB / 5.527 GB, free: 34.54 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.000189/15.6, allocations: 63.31 kB / 5.527 GB, free: 34.52 MB / 0.5886 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.03378/15.63, allocations: 7.096 MB / 5.534 GB, free: 30.58 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/15.63, allocations: 9.719 kB / 5.534 GB, free: 30.58 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001013/15.63, allocations: 272.7 kB / 5.534 GB, free: 30.54 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/15.64, allocations: 281.7 kB / 5.534 GB, free: 30.41 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003636/15.64, allocations: 1.447 MB / 5.536 GB, free: 29.98 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/15.64, allocations: 142.7 kB / 5.536 GB, free: 29.98 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000355/15.64, allocations: 182.4 kB / 5.536 GB, free: 29.98 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005149/15.65, allocations: 2.916 MB / 5.539 GB, free: 29.68 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.783e-05/15.65, allocations: 9.75 kB / 5.539 GB, free: 29.68 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002769/15.65, allocations: 80.69 kB / 5.539 GB, free: 29.68 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002055/15.65, allocations: 158.4 kB / 5.539 GB, free: 29.67 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005053/15.65, allocations: 3.132 MB / 5.542 GB, free: 29.65 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01849/15.67, allocations: 11.26 MB / 5.553 GB, free: 25.16 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003991/15.67, allocations: 2.267 MB / 5.555 GB, free: 25.11 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/15.68, allocations: 0.9758 MB / 5.556 GB, free: 25.1 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002889/15.68, allocations: 3.395 MB / 5.559 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.214e-05/15.68, allocations: 61.14 kB / 5.56 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001907/15.68, allocations: 272.7 kB / 5.56 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=156): time 6.562e-06/15.68, allocations: 2.719 kB / 5.56 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of matching and sorting (n=156): time 0.004191/15.68, allocations: 2.255 MB / 5.562 GB, free: 21.19 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.27e-05/15.68, allocations: 203.1 kB / 5.562 GB, free: 20.97 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002384/15.69, allocations: 1.671 MB / 5.564 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.000244/15.69, allocations: 61.73 kB / 5.564 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005978/15.69, allocations: 0.8983 MB / 5.565 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004073/15.69, allocations: 0.5335 MB / 5.565 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/15.69, allocations: 42.38 kB / 5.565 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001213/15.69, allocations: 381.8 kB / 5.566 GB, free: 19.71 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/15.69, allocations: 0.9974 MB / 5.567 GB, free: 19.71 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/15.69, allocations: 1.394 MB / 5.568 GB, free: 19.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/15.69, allocations: 1.341 MB / 5.569 GB, free: 19.11 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/15.69, allocations: 3.406 kB / 5.569 GB, free: 19.11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.005423/15.7, allocations: 3.145 MB / 5.572 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009355/15.7, allocations: 4.117 MB / 5.576 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/15.7, allocations: 14.67 kB / 5.576 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003877/15.7, allocations: 0.7151 MB / 5.577 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002168/15.71, allocations: 453 kB / 5.578 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/15.71, allocations: 1.634 MB / 5.579 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00277/15.71, allocations: 149.3 kB / 5.579 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003317/15.71, allocations: 151.5 kB / 5.579 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/15.71, allocations: 2.469 kB / 5.579 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004549/15.72, allocations: 2.822 MB / 5.582 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/15.72, allocations: 7.219 kB / 5.582 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/15.72, allocations: 355.8 kB / 5.583 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00208/15.72, allocations: 0.5037 MB / 5.583 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008592/15.72, allocations: 1.321 MB / 5.584 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/15.72, allocations: 139.5 kB / 5.584 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002858/15.72, allocations: 149.8 kB / 5.585 GB, free: 11.88 MB / 0.5886 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.0007142/15.72, allocations: 224.7 kB / 5.585 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004389/15.72, allocations: 217 kB / 5.585 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006293/15.73, allocations: 3.632 MB / 5.589 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/15.73, allocations: 16.19 kB / 5.589 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/15.73, allocations: 2.297 kB / 5.589 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.09e-05/15.73, allocations: 16.53 kB / 5.589 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008677/15.74, allocations: 5.452 MB / 5.594 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/15.74, allocations: 12.08 kB / 5.594 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/15.74, allocations: 319.2 kB / 5.594 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003257/15.74, allocations: 0.6542 MB / 5.595 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001559/15.74, allocations: 62.55 kB / 5.595 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/15.74, allocations: 1.633 MB / 5.597 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.004e-06/15.74, allocations: 9.562 kB / 5.597 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004335/15.75, allocations: 3.097 MB / 5.6 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008807/15.75, allocations: 351.3 kB / 5.6 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003302/15.75, allocations: 39.31 kB / 5.6 GB, free: 6.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/15.75, allocations: 122.6 kB / 5.6 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002757/15.75, allocations: 143.4 kB / 5.6 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002495/15.75, allocations: 139.8 kB / 5.6 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002041/15.75, allocations: 1.366 MB / 5.602 GB, free: 5.852 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.61e-07/15.75, allocations: 0 / 5.602 GB, free: 5.852 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0141/15.77, allocations: 3.101 MB / 5.605 GB, free: 4.965 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 162 * 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.02174/15.79, allocations: 9.022 MB / 5.614 GB, free: 420 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01053/15.8, allocations: 4.419 MB / 5.618 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.768e-05/15.8, allocations: 5.328 kB / 5.618 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002803/15.8, allocations: 1.144 MB / 5.619 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008095/15.81, allocations: 1.224 MB / 5.62 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01809/15.83, allocations: 4.713 MB / 5.625 GB, free: 8.09 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002295/15.83, allocations: 1.657 MB / 5.626 GB, free: 6.758 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.007768/15.84, allocations: 1.307 MB / 5.628 GB, free: 5.863 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002156/15.84, allocations: 0.8763 MB / 5.629 GB, free: 5.074 MB / 0.6042 GB Notification: Performance of SimCode: time 1.833e-06/15.84, allocations: 0 / 5.629 GB, free: 5.074 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8279/16.67, allocations: 138.6 MB / 5.764 GB, free: 47.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/16.67, allocations: 226.5 kB / 5.764 GB, free: 46.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.547/24.22, allocations: 0 / 5.764 GB, free: 46.95 MB / 0.6198 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