Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008835/0.0008835, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.02/1.02, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.6593/0.6593, allocations: 80.17 MB / 339.4 MB, free: 7.535 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 0.4924 GB, free: 6.688 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.635e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.684 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.5912/0.5913, allocations: 169 MB / 0.6574 GB, free: 3.961 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01783/0.6091, allocations: 14.08 MB / 0.6711 GB, free: 3.828 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002142/0.6112, allocations: 99.53 kB / 0.6712 GB, free: 3.828 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.00258/0.6138, allocations: 0.9317 MB / 0.6721 GB, free: 3.797 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.006766/0.6206, allocations: 2.613 MB / 0.6747 GB, free: 3.539 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.00497/0.6255, allocations: 1.92 MB / 0.6766 GB, free: 3.363 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.005032/0.6306, allocations: 4.025 MB / 0.6805 GB, free: 2.254 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00062/0.6312, allocations: 272 kB / 0.6807 GB, free: 2.172 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003628/0.6348, allocations: 2.244 MB / 0.6829 GB, free: 1.941 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/0.6366, allocations: 1.449 MB / 0.6844 GB, free: 1.793 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0004365/0.6371, allocations: 170.7 kB / 0.6845 GB, free: 1.793 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004832/0.6419, allocations: 2.256 MB / 0.6867 GB, free: 1.645 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0004369/0.6424, allocations: 478.1 kB / 0.6872 GB, free: 1.535 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0009304/0.6433, allocations: 0.8003 MB / 0.688 GB, free: 1.434 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.004708/0.648, allocations: 3.396 MB / 0.6913 GB, free: 1.051 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.132e-05/0.648, allocations: 0.5 kB / 0.6913 GB, free: 1.051 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.825e-06/0.648, allocations: 3.281 kB / 0.6913 GB, free: 1.051 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.077e-05/0.648, allocations: 1 kB / 0.6913 GB, free: 1.051 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.004228/0.6523, allocations: 2.676 MB / 0.6939 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 9.178e-05/0.6524, allocations: 13.78 kB / 0.6939 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002936/0.6527, allocations: 215.9 kB / 0.6941 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005791/0.6532, allocations: 287.4 kB / 0.6944 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002012/0.6553, allocations: 1.272 MB / 0.6956 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-05/0.6553, allocations: 113.7 kB / 0.6957 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002197/0.6556, allocations: 158.9 kB / 0.6959 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002578/0.6581, allocations: 2.296 MB / 0.6981 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.6582, allocations: 0 / 0.6981 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.6583, allocations: 70.25 kB / 0.6982 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/0.6583, allocations: 35.41 kB / 0.6982 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001867/0.6602, allocations: 1.519 MB / 0.6997 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006705/0.6669, allocations: 5.282 MB / 0.7049 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.6689, allocations: 1.409 MB / 0.7062 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000818/0.6697, allocations: 0.6655 MB / 0.7069 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003206/0.6729, allocations: 2.692 MB / 0.7095 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.753e-05/0.673, allocations: 61.81 kB / 0.7096 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=166): time 5.41e-06/0.673, allocations: 1.031 kB / 0.7096 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of matching and sorting (n=166): time 0.004207/0.6772, allocations: 2.489 MB / 0.712 GB, free: 9.262 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.6773, allocations: 175.8 kB / 0.7122 GB, free: 9.074 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.6786, allocations: 1.383 MB / 0.7135 GB, free: 8.547 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.677e-05/0.6786, allocations: 58.7 kB / 0.7136 GB, free: 8.492 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005271/0.6792, allocations: 0.842 MB / 0.7144 GB, free: 7.82 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003184/0.6795, allocations: 0.5975 MB / 0.715 GB, free: 7.344 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003171/0.6798, allocations: 295 kB / 0.7153 GB, free: 7.207 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.311e-05/0.6799, allocations: 301.1 kB / 0.7156 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006571/0.6805, allocations: 0.494 MB / 0.716 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009038/0.6814, allocations: 0.8632 MB / 0.7169 GB, free: 5.988 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002211/0.6837, allocations: 1.481 MB / 0.7183 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.6837, allocations: 2.844 kB / 0.7183 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.002602/0.6863, allocations: 1.913 MB / 0.7202 GB, free: 4.133 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.6863, allocations: 8.656 kB / 0.7202 GB, free: 4.133 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.6863, allocations: 10.5 kB / 0.7202 GB, free: 4.133 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004975/0.6868, allocations: 225.4 kB / 0.7204 GB, free: 4.012 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000758/0.6876, allocations: 392.5 kB / 0.7208 GB, free: 3.941 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004668/0.6922, allocations: 7.134 MB / 0.7278 GB, free: 13 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007002/0.6929, allocations: 172.1 kB / 0.7279 GB, free: 12.88 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.6931, allocations: 78.61 kB / 0.728 GB, free: 12.86 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (206): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005626/0.6936, allocations: 347.5 kB / 0.7284 GB, free: 12.62 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003726/0.694, allocations: 216.9 kB / 0.7286 GB, free: 12.51 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00279/0.6968, allocations: 2.067 MB / 0.7306 GB, free: 11.27 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.6968, allocations: 16.5 kB / 0.7306 GB, free: 11.27 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.6968, allocations: 6.906 kB / 0.7306 GB, free: 11.27 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/0.6968, allocations: 15.95 kB / 0.7306 GB, free: 11.25 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004638/0.7015, allocations: 3.682 MB / 0.7342 GB, free: 8.844 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.7015, allocations: 7.594 kB / 0.7342 GB, free: 8.84 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005772/0.702, allocations: 269.5 kB / 0.7345 GB, free: 8.781 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009959/0.703, allocations: 461 kB / 0.7349 GB, free: 8.52 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.341e-05/0.7031, allocations: 59.59 kB / 0.735 GB, free: 8.48 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006927/0.7101, allocations: 9.396 MB / 0.7441 GB, free: 14.69 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.7101, allocations: 4 kB / 0.7441 GB, free: 14.69 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003605/0.7137, allocations: 2.899 MB / 0.747 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004648/0.7141, allocations: 218.2 kB / 0.7472 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.7143, allocations: 40.19 kB / 0.7472 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006433/0.7149, allocations: 59.95 kB / 0.7473 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002195/0.7151, allocations: 135.8 kB / 0.7474 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.149e-05/0.7152, allocations: 75.89 kB / 0.7475 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0009775/0.7162, allocations: 0.9468 MB / 0.7484 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.7162, allocations: 0 / 0.7484 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00242/0.7186, allocations: 0.8186 MB / 0.7492 GB, free: 9.469 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 13 (volumeFlex2.M,volumeFlex2.U_med,volumeFlex.M,volumeFlex.U_med,flowResistance.inlet.m_flow,volumeFlex1.M,volumeFlex1.U_med,volumeFlex3.M,volumeFlex3.U_med,flowResistance1.inlet.m_flow,pCV2.inlet.m_flow,pCV3.inlet.m_flow,pCV4.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 (140): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,3), (2,3), (2,3), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005451/0.7241, allocations: 4.13 MB / 0.7532 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00244/0.7265, allocations: 1.93 MB / 0.7551 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7265, allocations: 0 / 0.7551 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001375/0.7279, allocations: 1.38 MB / 0.7565 GB, free: 1.977 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/0.7304, allocations: 0.8883 MB / 0.7573 GB, free: 1.109 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/0.7478, allocations: 14.76 MB / 0.7718 GB, free: 1.875 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/0.749, allocations: 0.7976 MB / 0.7725 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001384/0.7503, allocations: 376 kB / 0.7729 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008195/0.7512, allocations: 0.8049 MB / 0.7737 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of SimCode: time 3.647e-06/0.7512, allocations: 0 / 0.7737 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.109/0.8602, allocations: 65.17 MB / 0.8373 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.87, allocations: 0 / 0.8373 GB, free: 15.52 MB / 0.6823 GB " [Timeout remaining time 647] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 16.05181903578341] Failed to read output from testmodel.py, exit status != 0: 12.990963610820472 13.00153561 12.350971798 Calling exit ...