Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.conf.json 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/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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 87.42 kB / 15.07 MB, free: 1.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7772/0.7772, allocations: 89.66 MB / 380.7 MB, free: 11.4 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003606, allocations: 9.938 kB / 460.1 MB, free: 24.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1588, allocations: 68.84 MB / 0.5166 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.5821/0.741, allocations: 149.8 MB / 0.6629 GB, free: 2.508 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01812/0.7592, allocations: 11.95 MB / 0.6745 GB, free: 8.836 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002236/0.7615, allocations: 24.91 kB / 0.6745 GB, free: 8.824 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002142/0.7637, allocations: 497.3 kB / 0.675 GB, free: 8.422 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003214/0.7669, allocations: 0.758 MB / 0.6758 GB, free: 7.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002362/0.7693, allocations: 0.6141 MB / 0.6764 GB, free: 7.312 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002287/0.7716, allocations: 1.273 MB / 0.6776 GB, free: 6.422 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006174/0.7722, allocations: 259.1 kB / 0.6779 GB, free: 6.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009307/0.7732, allocations: 410.2 kB / 0.6782 GB, free: 5.758 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008127/0.774, allocations: 0.5681 MB / 0.6788 GB, free: 5.188 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.704e-05/0.7741, allocations: 39.98 kB / 0.6788 GB, free: 5.148 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003263/0.7773, allocations: 1.228 MB / 0.68 GB, free: 3.918 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.7775, allocations: 135.3 kB / 0.6802 GB, free: 3.785 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002618/0.7778, allocations: 193.2 kB / 0.6804 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.7793, allocations: 0.9819 MB / 0.6813 GB, free: 2.605 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.7793, allocations: 0 / 0.6813 GB, free: 2.605 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.7793, allocations: 3.938 kB / 0.6813 GB, free: 2.602 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.7793, allocations: 0 / 0.6813 GB, free: 2.602 MB / 494.1 MB 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.002201/0.7815, allocations: 1.166 MB / 0.6825 GB, free: 1.387 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.7816, allocations: 8.031 kB / 0.6825 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001352/0.7818, allocations: 114.5 kB / 0.6826 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.7819, allocations: 98.78 kB / 0.6827 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008515/0.7828, allocations: 0.5336 MB / 0.6832 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.771e-05/0.7828, allocations: 54 kB / 0.6832 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.783, allocations: 72 kB / 0.6833 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.7843, allocations: 0.7352 MB / 0.684 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.7843, allocations: 0 / 0.684 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.856e-05/0.7844, allocations: 28 kB / 0.684 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.7844, allocations: 16 kB / 0.6841 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.7855, allocations: 0.6402 MB / 0.6847 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003918/0.7895, allocations: 3.098 MB / 0.6877 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.7907, allocations: 0.5716 MB / 0.6883 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/0.7912, allocations: 271.9 kB / 0.6885 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003022/0.7942, allocations: 2.592 MB / 0.6911 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.7943, allocations: 39.12 kB / 0.6911 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=55): time 2.094e-06/0.7943, allocations: 0 / 0.6911 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=56): time 0.003583/0.7979, allocations: 1.754 MB / 0.6928 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.7979, allocations: 55.97 kB / 0.6929 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007425/0.7987, allocations: 0.5744 MB / 0.6934 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.7987, allocations: 37.64 kB / 0.6935 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.799, allocations: 380.3 kB / 0.6938 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.7992, allocations: 197.1 kB / 0.694 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/0.7992, allocations: 8 kB / 0.694 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001984/0.7994, allocations: 386.7 kB / 0.6944 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.7998, allocations: 169 kB / 0.6946 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/0.8001, allocations: 227.2 kB / 0.6948 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003968/0.8006, allocations: 194.2 kB / 0.695 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.8006, allocations: 0 / 0.695 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001234/0.8018, allocations: 0.6433 MB / 0.6956 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.8018, allocations: 4 kB / 0.6956 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.8018, allocations: 0 / 0.6956 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004278/0.8023, allocations: 113.3 kB / 0.6957 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.8027, allocations: 103.2 kB / 0.6958 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/0.805, allocations: 1.901 MB / 0.6976 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004281/0.8054, allocations: 44.06 kB / 0.6977 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.223e-05/0.8055, allocations: 27.92 kB / 0.6977 GB, free: 0.6445 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0003241/0.8058, allocations: 193.8 kB / 0.6979 GB, free: 456 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.934e-05/0.8059, allocations: 71.06 kB / 0.698 GB, free: 384 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001652/0.8076, allocations: 0.8701 MB / 0.6988 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/0.8076, allocations: 11.94 kB / 0.6988 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.8076, allocations: 4 kB / 0.6988 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.8076, allocations: 3.984 kB / 0.6988 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002517/0.8101, allocations: 1.493 MB / 0.7003 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.8102, allocations: 8.078 kB / 0.7003 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.8105, allocations: 99.83 kB / 0.7004 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003524/0.8109, allocations: 112.7 kB / 0.7005 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.753e-05/0.8109, allocations: 23.98 kB / 0.7005 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/0.8129, allocations: 1.895 MB / 0.7024 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.8129, allocations: 0 / 0.7024 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.8145, allocations: 0.9717 MB / 0.7033 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/0.8148, allocations: 152.2 kB / 0.7035 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.046e-05/0.8148, allocations: 16 kB / 0.7035 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/0.8152, allocations: 47.88 kB / 0.7035 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.381e-05/0.8153, allocations: 44.5 kB / 0.7036 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/0.8153, allocations: 24.09 kB / 0.7036 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005142/0.8158, allocations: 426.9 kB / 0.704 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8159, allocations: 0 / 0.704 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009915/0.8169, allocations: 327.8 kB / 0.7043 GB, free: 9.586 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002652/0.8195, allocations: 1.886 MB / 0.7062 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001277/0.8208, allocations: 0.635 MB / 0.7068 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8208, allocations: 0 / 0.7068 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007338/0.8216, allocations: 434 kB / 0.7072 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.8228, allocations: 240.9 kB / 0.7074 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007142/0.83, allocations: 4.308 MB / 0.7116 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006462/0.8307, allocations: 0.9576 MB / 0.7126 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005564/0.8312, allocations: 128.7 kB / 0.7127 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004472/0.8317, allocations: 319.3 kB / 0.713 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of SimCode: time 8.31e-07/0.8317, allocations: 0 / 0.713 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.056/0.8877, allocations: 22.47 MB / 0.7349 GB, free: 10.32 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/0.888, allocations: 209.2 kB / 0.7351 GB, free: 10.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.581/3.469, allocations: 3.938 kB / 0.7351 GB, free: 10.07 MB / 0.545 GB (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat does not exist to compare? outputFormat=mat