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.001053/0.001053, 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.001069/0.001069, allocations: 169.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 0.9909/0.9909, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.6283/0.6283, allocations: 80.17 MB / 339.4 MB, free: 7.559 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.104e-06/2.104e-06, allocations: 0 / 0.4924 GB, free: 6.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.528e-05, allocations: 6.281 kB / 0.4924 GB, free: 6.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.5661/0.5662, allocations: 169 MB / 0.6574 GB, free: 3.957 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01787/0.584, allocations: 14.08 MB / 0.6711 GB, free: 3.82 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002629/0.5867, allocations: 104.6 kB / 0.6712 GB, free: 3.82 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.002599/0.5893, allocations: 0.9332 MB / 0.6721 GB, free: 3.789 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.007575/0.5968, allocations: 2.61 MB / 0.6747 GB, free: 3.527 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.00502/0.6019, allocations: 1.919 MB / 0.6766 GB, free: 3.355 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.004884/0.6067, allocations: 4.021 MB / 0.6805 GB, free: 2.242 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004529/0.6072, allocations: 267.5 kB / 0.6807 GB, free: 2.164 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003514/0.6107, allocations: 2.245 MB / 0.6829 GB, free: 1.93 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001942/0.6126, allocations: 1.444 MB / 0.6843 GB, free: 1.785 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0004989/0.6131, allocations: 168.9 kB / 0.6845 GB, free: 1.785 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005113/0.6183, allocations: 2.258 MB / 0.6867 GB, free: 1.633 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.00058/0.6188, allocations: 481.3 kB / 0.6872 GB, free: 1.527 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0008581/0.6197, allocations: 0.7955 MB / 0.6879 GB, free: 1.422 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.004956/0.6247, allocations: 3.405 MB / 0.6913 GB, free: 1.039 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.6247, allocations: 0.625 kB / 0.6913 GB, free: 1.039 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6247, allocations: 0 / 0.6913 GB, free: 1.039 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001261/0.6248, allocations: 0.9688 kB / 0.6913 GB, free: 1.039 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.004361/0.6292, allocations: 2.674 MB / 0.6939 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/0.6292, allocations: 13.59 kB / 0.6939 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002701/0.6295, allocations: 214.8 kB / 0.6941 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006601/0.6301, allocations: 283.9 kB / 0.6944 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002259/0.6324, allocations: 1.279 MB / 0.6956 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-05/0.6325, allocations: 114.2 kB / 0.6957 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.6326, allocations: 160.5 kB / 0.6959 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002493/0.6351, allocations: 2.296 MB / 0.6981 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.6352, allocations: 4.062 kB / 0.6981 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.6353, allocations: 67.81 kB / 0.6982 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/0.6353, allocations: 36.91 kB / 0.6982 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/0.6373, allocations: 1.513 MB / 0.6997 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006472/0.6437, allocations: 5.276 MB / 0.7049 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002193/0.6459, allocations: 1.415 MB / 0.7062 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007617/0.6467, allocations: 0.6651 MB / 0.7069 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003562/0.6502, allocations: 2.685 MB / 0.7095 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.6503, allocations: 64.27 kB / 0.7096 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=166): time 4.087e-06/0.6503, allocations: 2.125 kB / 0.7096 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of matching and sorting (n=166): time 0.004437/0.6547, allocations: 2.493 MB / 0.712 GB, free: 9.262 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.6548, allocations: 175.3 kB / 0.7122 GB, free: 9.074 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.6562, allocations: 1.384 MB / 0.7135 GB, free: 8.547 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.353e-05/0.6563, allocations: 59.42 kB / 0.7136 GB, free: 8.492 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004954/0.6568, allocations: 0.8392 MB / 0.7144 GB, free: 7.82 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004237/0.6572, allocations: 0.5983 MB / 0.715 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003191/0.6575, allocations: 296.7 kB / 0.7153 GB, free: 7.184 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.6577, allocations: 301.1 kB / 0.7156 GB, free: 6.887 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007131/0.6584, allocations: 0.4935 MB / 0.716 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.6594, allocations: 0.8585 MB / 0.7169 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001869/0.6613, allocations: 1.485 MB / 0.7183 GB, free: 5.012 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.6613, allocations: 3.688 kB / 0.7183 GB, free: 5.012 MB / 0.5573 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.002934/0.6642, allocations: 1.91 MB / 0.7202 GB, free: 4.109 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/0.6642, allocations: 12.09 kB / 0.7202 GB, free: 4.109 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.6642, allocations: 11.66 kB / 0.7202 GB, free: 4.109 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005169/0.6648, allocations: 230 kB / 0.7204 GB, free: 3.984 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007687/0.6655, allocations: 389.3 kB / 0.7208 GB, free: 3.914 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004856/0.6704, allocations: 7.129 MB / 0.7278 GB, free: 12.98 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007663/0.6712, allocations: 173.9 kB / 0.7279 GB, free: 12.86 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.6713, allocations: 81.5 kB / 0.728 GB, free: 12.83 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.0005865/0.6719, allocations: 343.4 kB / 0.7283 GB, free: 12.6 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003336/0.6722, allocations: 228.6 kB / 0.7286 GB, free: 12.48 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002938/0.6751, allocations: 2.058 MB / 0.7306 GB, free: 11.24 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.6751, allocations: 21.81 kB / 0.7306 GB, free: 11.24 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.6752, allocations: 4.562 kB / 0.7306 GB, free: 11.24 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.6752, allocations: 7.969 kB / 0.7306 GB, free: 11.23 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004768/0.6799, allocations: 3.697 MB / 0.7342 GB, free: 8.816 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.6799, allocations: 3.031 kB / 0.7342 GB, free: 8.816 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005182/0.6805, allocations: 251.2 kB / 0.7345 GB, free: 8.77 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.6815, allocations: 465.7 kB / 0.7349 GB, free: 8.504 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.92e-05/0.6816, allocations: 59.28 kB / 0.735 GB, free: 8.465 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005269/0.6869, allocations: 9.408 MB / 0.7442 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.6869, allocations: 11.38 kB / 0.7442 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003551/0.6904, allocations: 2.888 MB / 0.747 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/0.6907, allocations: 218.2 kB / 0.7472 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.6908, allocations: 43.94 kB / 0.7472 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006719/0.6915, allocations: 59.95 kB / 0.7473 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002491/0.6918, allocations: 139.8 kB / 0.7474 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.992e-05/0.6918, allocations: 71.89 kB / 0.7475 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0009076/0.6928, allocations: 0.9429 MB / 0.7484 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3e-08/0.6928, allocations: 0 / 0.7484 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00212/0.6949, allocations: 0.8264 MB / 0.7492 GB, free: 9.441 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.004927/0.6998, allocations: 4.121 MB / 0.7532 GB, free: 5.301 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002621/0.7024, allocations: 1.922 MB / 0.7551 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.7024, allocations: 4 kB / 0.7551 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001519/0.7039, allocations: 1.377 MB / 0.7565 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/0.7066, allocations: 0.897 MB / 0.7573 GB, free: 1.09 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01845/0.7251, allocations: 14.76 MB / 0.7718 GB, free: 1.855 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007153/0.7258, allocations: 0.7976 MB / 0.7725 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001518/0.7273, allocations: 380 kB / 0.7729 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008381/0.7281, allocations: 0.8049 MB / 0.7737 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of SimCode: time 1.403e-06/0.7281, allocations: 0 / 0.7737 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1151/0.8432, allocations: 65.16 MB / 0.8373 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.7, allocations: 7.25 kB / 0.8373 GB, free: 15.5 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 15.549060716293752] Failed to read output from testmodel.py, exit status != 0: 12.835859506390989 12.849770276 12.22270987 Calling exit ...