Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001294/0.001294, 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.001476/0.001476, allocations: 212.7 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.817/0.817, allocations: 100.3 MB / 413.6 MB, free: 3.383 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_ThermofluidStream_FlowControl_Tests_PCV",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_dev_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.002788/0.002788, allocations: 84.34 kB / 0.564 GB, free: 35.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1441, allocations: 74.46 MB / 0.6367 GB, free: 7.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.5658/0.7099, allocations: 165.5 MB / 0.7984 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02086/0.7308, allocations: 16.29 MB / 0.8143 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003557/0.7343, allocations: 95.88 kB / 0.8144 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003458/0.7378, allocations: 0.8962 MB / 0.8152 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007321/0.7451, allocations: 2.388 MB / 0.8176 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005149/0.7503, allocations: 1.866 MB / 0.8194 GB, free: 300 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005293/0.7555, allocations: 3.685 MB / 0.823 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000764/0.7563, allocations: 277.5 kB / 0.8233 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003579/0.7599, allocations: 1.644 MB / 0.8249 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003003/0.7629, allocations: 1.593 MB / 0.8264 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006168/0.7635, allocations: 170.5 kB / 0.8266 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006151/0.7697, allocations: 2.258 MB / 0.8288 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001046/0.7707, allocations: 460.8 kB / 0.8292 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002582/0.7733, allocations: 0.8967 MB / 0.8301 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009678/0.783, allocations: 3.247 MB / 0.8333 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.783, allocations: 0 / 0.8333 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.044e-06/0.783, allocations: 0 / 0.8333 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001187/0.7831, allocations: 0.9688 kB / 0.8333 GB, free: 11.25 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.006157/0.7892, allocations: 2.625 MB / 0.8358 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.7893, allocations: 7.594 kB / 0.8358 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.944e-05/0.7893, allocations: 40.42 kB / 0.8359 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003172/0.7897, allocations: 206.5 kB / 0.8361 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009435/0.7906, allocations: 277.1 kB / 0.8363 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002742/0.7933, allocations: 1.226 MB / 0.8375 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.245e-05/0.7934, allocations: 113.4 kB / 0.8376 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002613/0.7937, allocations: 158.5 kB / 0.8378 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003489/0.7972, allocations: 2.258 MB / 0.84 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.487e-05/0.7972, allocations: 0.8125 kB / 0.84 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001694/0.7974, allocations: 61.56 kB / 0.8401 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/0.7974, allocations: 34.47 kB / 0.8401 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002643/0.8001, allocations: 1.514 MB / 0.8416 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009661/0.8097, allocations: 4.809 MB / 0.8463 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003038/0.8128, allocations: 1.424 MB / 0.8477 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/0.814, allocations: 0.6652 MB / 0.8483 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006351/0.8204, allocations: 2.698 MB / 0.8509 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.914e-05/0.8205, allocations: 67.33 kB / 0.851 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=166): time 6.452e-06/0.8205, allocations: 4 kB / 0.851 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of matching and sorting (n=166): time 0.007902/0.8284, allocations: 2.464 MB / 0.8534 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.8285, allocations: 181.9 kB / 0.8536 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002263/0.8308, allocations: 1.303 MB / 0.8549 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002677/0.831, allocations: 57.7 kB / 0.8549 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007288/0.8318, allocations: 0.8012 MB / 0.8557 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006645/0.8324, allocations: 0.5964 MB / 0.8563 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005522/0.833, allocations: 287.5 kB / 0.8566 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.8331, allocations: 309.1 kB / 0.8569 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.8342, allocations: 499.8 kB / 0.8573 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/0.8357, allocations: 0.8304 MB / 0.8581 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002526/0.8382, allocations: 1.425 MB / 0.8595 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.8382, allocations: 4 kB / 0.8595 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004258/0.8425, allocations: 1.875 MB / 0.8614 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.8425, allocations: 8 kB / 0.8614 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.507e-05/0.8426, allocations: 15.98 kB / 0.8614 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009088/0.8435, allocations: 223.2 kB / 0.8616 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.845, allocations: 378.8 kB / 0.862 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006628/0.8516, allocations: 7.144 MB / 0.8689 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.8532, allocations: 162.8 kB / 0.8691 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003113/0.8535, allocations: 79.97 kB / 0.8692 GB, free: 11.91 MB / 0.6231 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.0009066/0.8544, allocations: 336.7 kB / 0.8695 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008857/0.8553, allocations: 210.7 kB / 0.8697 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004931/0.8602, allocations: 2.046 MB / 0.8717 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/0.8603, allocations: 16 kB / 0.8717 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.901e-05/0.8603, allocations: 4 kB / 0.8717 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.489e-05/0.8603, allocations: 11.97 kB / 0.8717 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007983/0.8683, allocations: 3.674 MB / 0.8753 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.8683, allocations: 7.938 kB / 0.8753 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/0.8695, allocations: 260.5 kB / 0.8756 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00216/0.8717, allocations: 476.6 kB / 0.876 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002245/0.8719, allocations: 51.97 kB / 0.8761 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008573/0.8805, allocations: 9.408 MB / 0.8853 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/0.8805, allocations: 4 kB / 0.8853 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005916/0.8864, allocations: 2.887 MB / 0.8881 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006383/0.887, allocations: 210.4 kB / 0.8883 GB, free: 7.547 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004128/0.8874, allocations: 47.94 kB / 0.8883 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.8888, allocations: 55.95 kB / 0.8884 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000307/0.8891, allocations: 135.2 kB / 0.8885 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001966/0.8893, allocations: 71.95 kB / 0.8886 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001568/0.8908, allocations: 0.9054 MB / 0.8895 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8908, allocations: 0 / 0.8895 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003176/0.894, allocations: 0.7835 MB / 0.8902 GB, free: 5.562 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.007751/0.9018, allocations: 4.102 MB / 0.8942 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004339/0.9061, allocations: 1.908 MB / 0.8961 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/0.9061, allocations: 4 kB / 0.8961 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003004/0.9091, allocations: 1.377 MB / 0.8974 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004099/0.9132, allocations: 0.6233 MB / 0.8981 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02943/0.9426, allocations: 14.42 MB / 0.9121 GB, free: 14.59 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/0.9438, allocations: 0.77 MB / 0.9129 GB, free: 13.79 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00182/0.9456, allocations: 354.3 kB / 0.9132 GB, free: 13.43 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/0.9469, allocations: 0.7804 MB / 0.914 GB, free: 12.65 MB / 0.67 GB Notification: Performance of SimCode: time 1.192e-06/0.9469, allocations: 0 / 0.914 GB, free: 12.65 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.121/1.068, allocations: 58.05 MB / 0.9707 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.29/18.36, allocations: 0.9844 kB / 0.9707 GB, free: 3.293 MB / 0.7169 GB " [Timeout remaining time 641] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_PCV_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_PCV.fmu > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 22.10896818700712] Failed to read output from testmodel.py, exit status != 0: 18.57649462693371 18.602941027 17.814757894 Calling exit ...