Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.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/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/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(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_TanValve",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.007438/0.007438, allocations: 172.1 kB / 15.12 MB, free: 5.559 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.738/1.738, allocations: 205.4 MB / 221.3 MB, free: 13.71 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.0008622/0.0008622, allocations: 90.86 kB / 269.6 MB, free: 13.24 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.9378/0.9378, allocations: 90.59 MB / 408.5 MB, free: 14.98 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000335/0.000335, allocations: 8 kB / 485.3 MB, free: 1.992 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5377/0.5381, allocations: 66.28 MB / 0.5387 GB, free: 45.43 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.2069/0.7451, allocations: 139.2 MB / 0.6746 GB, free: 468 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01466/0.7598, allocations: 10.71 MB / 0.6851 GB, free: 5.734 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.7611, allocations: 19.88 kB / 0.6851 GB, free: 5.715 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.7628, allocations: 0.4939 MB / 0.6856 GB, free: 5.219 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.002674/0.7655, allocations: 0.7905 MB / 0.6864 GB, free: 4.426 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.7676, allocations: 0.63 MB / 0.687 GB, free: 3.797 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.001294/0.7689, allocations: 0.7833 MB / 0.6877 GB, free: 3.012 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000422/0.7693, allocations: 253.2 kB / 0.688 GB, free: 2.75 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005764/0.7699, allocations: 354.7 kB / 0.6883 GB, free: 2.402 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006212/0.7705, allocations: 474.2 kB / 0.6888 GB, free: 1.938 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 6.537e-05/0.7706, allocations: 32 kB / 0.6888 GB, free: 1.906 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003021/0.7736, allocations: 1.326 MB / 0.6901 GB, free: 0.5781 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.7738, allocations: 119.5 kB / 0.6902 GB, free: 472 kB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.774, allocations: 185.2 kB / 0.6904 GB, free: 280 kB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.7753, allocations: 0.9333 MB / 0.6913 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.7753, allocations: 0 / 0.6913 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7753, allocations: 0 / 0.6913 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.7753, allocations: 1.125 kB / 0.6913 GB, free: 15.34 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002003/0.7774, allocations: 1.096 MB / 0.6924 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.7774, allocations: 12.02 kB / 0.6924 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001347/0.7776, allocations: 110.5 kB / 0.6925 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.7777, allocations: 103.8 kB / 0.6926 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000763/0.7785, allocations: 490.6 kB / 0.6931 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.005e-05/0.7786, allocations: 54 kB / 0.6931 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.894e-05/0.7787, allocations: 68 kB / 0.6932 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.7798, allocations: 0.6555 MB / 0.6938 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.7798, allocations: 0 / 0.6938 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.574e-05/0.7799, allocations: 28 kB / 0.6938 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.7799, allocations: 16 kB / 0.6938 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.781, allocations: 0.6457 MB / 0.6945 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003834/0.7849, allocations: 3.233 MB / 0.6976 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.7863, allocations: 0.6699 MB / 0.6983 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002739/0.789, allocations: 2.654 MB / 0.7009 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.7891, allocations: 39.12 kB / 0.7009 GB, free: 4.602 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=57): time 3.878e-06/0.7891, allocations: 0 / 0.7009 GB, free: 4.602 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58): time 0.003644/0.7927, allocations: 1.878 MB / 0.7028 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.7928, allocations: 55.97 kB / 0.7028 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005244/0.7933, allocations: 446.9 kB / 0.7032 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.7934, allocations: 33.7 kB / 0.7033 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/0.7937, allocations: 348.2 kB / 0.7036 GB, free: 1.715 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.7938, allocations: 201 kB / 0.7038 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.7939, allocations: 12 kB / 0.7038 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002242/0.7941, allocations: 370.7 kB / 0.7042 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003928/0.7945, allocations: 181 kB / 0.7043 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004157/0.7949, allocations: 235.7 kB / 0.7046 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004485/0.7954, allocations: 198.1 kB / 0.7047 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.7954, allocations: 7.984 kB / 0.7048 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001251/0.7967, allocations: 0.6434 MB / 0.7054 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.7967, allocations: 5.094 kB / 0.7054 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.7967, allocations: 0 / 0.7054 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004035/0.7971, allocations: 104.8 kB / 0.7055 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/0.7975, allocations: 107.9 kB / 0.7056 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/0.7999, allocations: 1.919 MB / 0.7075 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.8002, allocations: 47.97 kB / 0.7075 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.13e-05/0.8003, allocations: 19.98 kB / 0.7075 GB, free: 13.52 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 initialization (52): * Single equations (assignments): 50 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003007/0.8006, allocations: 193.7 kB / 0.7077 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.8007, allocations: 59.25 kB / 0.7078 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/0.8024, allocations: 0.8083 MB / 0.7086 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.8024, allocations: 12 kB / 0.7086 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.8025, allocations: 1.312 kB / 0.7086 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.8025, allocations: 3.984 kB / 0.7086 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002836/0.8053, allocations: 1.601 MB / 0.7101 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.8053, allocations: 0 / 0.7101 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003544/0.8057, allocations: 103.9 kB / 0.7102 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003767/0.8061, allocations: 120 kB / 0.7104 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.18e-05/0.8061, allocations: 19.98 kB / 0.7104 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002303/0.8084, allocations: 1.943 MB / 0.7123 GB, free: 8.477 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.8085, allocations: 0 / 0.7123 GB, free: 8.477 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.8103, allocations: 1.068 MB / 0.7133 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/0.8105, allocations: 132.3 kB / 0.7134 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-05/0.8106, allocations: 12 kB / 0.7134 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003307/0.8109, allocations: 43.94 kB / 0.7135 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.8111, allocations: 48.48 kB / 0.7135 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.501e-05/0.8111, allocations: 27.98 kB / 0.7136 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003735/0.8115, allocations: 306.8 kB / 0.7139 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8115, allocations: 3.938 kB / 0.7139 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00109/0.8126, allocations: 327.8 kB / 0.7142 GB, free: 6.473 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (flowResistance1.inlet.m_flow,flowResistance2.inlet.m_flow) * 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 (55): * Single equations (assignments): 53 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003079/0.8157, allocations: 2.131 MB / 0.7163 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001627/0.8173, allocations: 0.6918 MB / 0.7169 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8173, allocations: 0 / 0.7169 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008891/0.8182, allocations: 0.4995 MB / 0.7174 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.8193, allocations: 166.5 kB / 0.7176 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00691/0.8262, allocations: 4.299 MB / 0.7218 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006518/0.8269, allocations: 0.9652 MB / 0.7227 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005001/0.8274, allocations: 120.6 kB / 0.7228 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003929/0.8278, allocations: 295.3 kB / 0.7231 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of SimCode: time 2.374e-06/0.8278, allocations: 0 / 0.7231 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0443/0.8721, allocations: 20.42 MB / 0.743 GB, free: 9.027 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/0.8724, allocations: 224.2 kB / 0.7433 GB, free: 8.777 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.867/3.739, allocations: 0 / 0.7433 GB, free: 8.777 MB / 0.5574 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_TanValve_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_TanValve.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve_res.mat does not exist to compare? outputFormat=mat