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.001464/0.001464, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 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.001409/0.001409, allocations: 213.9 kB / 23.03 MB, free: 4.922 MB / 14.72 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.8309/0.8309, allocations: 94.63 MB / 407.8 MB, free: 8.938 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002377/0.002377, allocations: 84.52 kB / 0.5557 GB, free: 38.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1391, allocations: 73.05 MB / 0.627 GB, free: 220 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.545/0.684, allocations: 165.5 MB / 0.7887 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01749/0.7015, allocations: 16.28 MB / 0.8046 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002445/0.704, allocations: 95.81 kB / 0.8047 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002751/0.7067, allocations: 0.8989 MB / 0.8056 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007034/0.7137, allocations: 2.393 MB / 0.8079 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00529/0.719, allocations: 1.86 MB / 0.8097 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005124/0.7242, allocations: 3.665 MB / 0.8133 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008199/0.725, allocations: 285.4 kB / 0.8136 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00347/0.7284, allocations: 1.644 MB / 0.8152 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002804/0.7312, allocations: 1.598 MB / 0.8167 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004258/0.7317, allocations: 168.7 kB / 0.8169 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005755/0.7374, allocations: 2.254 MB / 0.8191 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008835/0.7383, allocations: 460.8 kB / 0.8195 GB, free: 236 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002316/0.7406, allocations: 0.898 MB / 0.8204 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009703/0.7503, allocations: 3.246 MB / 0.8236 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.7503, allocations: 3.938 kB / 0.8236 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7503, allocations: 3.281 kB / 0.8236 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.967e-05/0.7504, allocations: 1 kB / 0.8236 GB, free: 14.72 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.005522/0.7559, allocations: 2.617 MB / 0.8261 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.756, allocations: 8.844 kB / 0.8262 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.029e-05/0.756, allocations: 39.73 kB / 0.8262 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002491/0.7563, allocations: 213.9 kB / 0.8264 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008061/0.7571, allocations: 273.2 kB / 0.8267 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00241/0.7595, allocations: 1.222 MB / 0.8279 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.932e-05/0.7596, allocations: 112.7 kB / 0.828 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002171/0.7598, allocations: 158.1 kB / 0.8281 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003164/0.7629, allocations: 2.257 MB / 0.8303 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/0.763, allocations: 2.625 kB / 0.8303 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/0.7631, allocations: 64.06 kB / 0.8304 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.7632, allocations: 36.28 kB / 0.8304 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002454/0.7656, allocations: 1.511 MB / 0.8319 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008419/0.774, allocations: 4.805 MB / 0.8366 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00269/0.7767, allocations: 1.429 MB / 0.838 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/0.7778, allocations: 0.6746 MB / 0.8386 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005199/0.783, allocations: 2.687 MB / 0.8413 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.685e-05/0.7831, allocations: 65.38 kB / 0.8413 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=166): time 4.008e-06/0.7831, allocations: 1.125 kB / 0.8413 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of matching and sorting (n=166): time 0.006364/0.7894, allocations: 2.47 MB / 0.8437 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.7896, allocations: 182.8 kB / 0.8439 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.7911, allocations: 1.302 MB / 0.8452 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/0.7913, allocations: 58.02 kB / 0.8452 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006687/0.7919, allocations: 0.7983 MB / 0.846 GB, free: 212 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005231/0.7924, allocations: 0.5983 MB / 0.8466 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004124/0.7929, allocations: 289.4 kB / 0.8469 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.793, allocations: 301.1 kB / 0.8472 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009846/0.794, allocations: 0.4892 MB / 0.8476 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.7953, allocations: 0.8269 MB / 0.8484 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002406/0.7977, allocations: 1.441 MB / 0.8499 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.7977, allocations: 4 kB / 0.8499 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003763/0.8015, allocations: 1.865 MB / 0.8517 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.8015, allocations: 14.22 kB / 0.8517 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.8015, allocations: 12 kB / 0.8517 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007876/0.8023, allocations: 226.6 kB / 0.8519 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.8038, allocations: 380.2 kB / 0.8523 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006685/0.8104, allocations: 7.14 MB / 0.8593 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.8118, allocations: 162.9 kB / 0.8594 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/0.812, allocations: 75.97 kB / 0.8595 GB, free: 2.094 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (201): * Single equations (assignments): 196 * 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.000776/0.8128, allocations: 336.6 kB / 0.8598 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006523/0.8135, allocations: 210.7 kB / 0.86 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004474/0.8179, allocations: 2.052 MB / 0.862 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.818, allocations: 23.98 kB / 0.862 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/0.818, allocations: 4 kB / 0.862 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.86e-05/0.818, allocations: 19.89 kB / 0.8621 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006967/0.825, allocations: 3.663 MB / 0.8656 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.825, allocations: 4.25 kB / 0.8656 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.826, allocations: 256.7 kB / 0.8659 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001892/0.8279, allocations: 472.3 kB / 0.8663 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/0.8281, allocations: 59.91 kB / 0.8664 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008486/0.8365, allocations: 9.411 MB / 0.8756 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.8365, allocations: 6.562 kB / 0.8756 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006028/0.8426, allocations: 2.891 MB / 0.8784 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007203/0.8433, allocations: 210.3 kB / 0.8786 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002973/0.8436, allocations: 39.94 kB / 0.8786 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.8449, allocations: 59.95 kB / 0.8787 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003503/0.8452, allocations: 135.1 kB / 0.8788 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001816/0.8454, allocations: 68.14 kB / 0.8789 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001481/0.8469, allocations: 0.9093 MB / 0.8798 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8469, allocations: 2.625 kB / 0.8798 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002956/0.8499, allocations: 0.7874 MB / 0.8806 GB, free: 11.78 MB / 0.6387 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.007402/0.8573, allocations: 4.089 MB / 0.8845 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003865/0.8611, allocations: 1.914 MB / 0.8864 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/0.8611, allocations: 0 / 0.8864 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002871/0.864, allocations: 1.39 MB / 0.8878 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003507/0.8675, allocations: 0.6082 MB / 0.8884 GB, free: 3.75 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0263/0.8938, allocations: 14.43 MB / 0.9025 GB, free: 4.871 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009167/0.8947, allocations: 0.7623 MB / 0.9032 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001628/0.8964, allocations: 354.3 kB / 0.9035 GB, free: 3.723 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/0.8976, allocations: 0.7804 MB / 0.9043 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of SimCode: time 1.062e-06/0.8976, allocations: 0 / 0.9043 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1214/1.019, allocations: 58.06 MB / 0.961 GB, free: 9.559 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.52/18.54, allocations: 8.062 kB / 0.961 GB, free: 9.551 MB / 0.7169 GB " [Timeout remaining time 641] (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: 22.317335003055632] Failed to read output from testmodel.py, exit status != 0: 18.750008411007002 18.774513762 18.019453857 Calling exit ...