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.002032/0.002032, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002688/0.002688, allocations: 214 kB / 22.25 MB, free: 4.855 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.674/1.674, allocations: 230.6 MB / 256 MB, free: 7.789 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.9563/0.9563, allocations: 100.9 MB / 413.3 MB, free: 2.887 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_PCV",fmuType="me",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.003114/0.003114, allocations: 90.05 kB / 0.5641 GB, free: 35.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2068, allocations: 74.61 MB / 0.6369 GB, free: 6.355 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.8523/1.059, allocations: 165.6 MB / 0.7987 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03082/1.09, allocations: 16.32 MB / 0.8146 GB, free: 1 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006003/1.096, allocations: 95.19 kB / 0.8147 GB, free: 1 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004939/1.101, allocations: 0.8915 MB / 0.8156 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01267/1.114, allocations: 2.386 MB / 0.8179 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00915/1.123, allocations: 1.872 MB / 0.8198 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008205/1.131, allocations: 3.671 MB / 0.8233 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008742/1.132, allocations: 270 kB / 0.8236 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004964/1.137, allocations: 1.645 MB / 0.8252 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003686/1.14, allocations: 1.5 MB / 0.8267 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004714/1.141, allocations: 165.3 kB / 0.8268 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007509/1.148, allocations: 2.228 MB / 0.829 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008386/1.149, allocations: 460 kB / 0.8294 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002483/1.152, allocations: 0.8948 MB / 0.8303 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01179/1.164, allocations: 3.242 MB / 0.8335 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/1.164, allocations: 0 / 0.8335 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.827e-06/1.164, allocations: 1 kB / 0.8335 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.5e-05/1.164, allocations: 0 / 0.8335 GB, free: 10.32 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.006789/1.17, allocations: 2.623 MB / 0.836 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/1.17, allocations: 11.41 kB / 0.8361 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002995/1.171, allocations: 220.1 kB / 0.8363 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009276/1.172, allocations: 269.5 kB / 0.8365 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002938/1.175, allocations: 1.228 MB / 0.8377 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/1.175, allocations: 110.2 kB / 0.8378 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002512/1.175, allocations: 155.5 kB / 0.838 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003658/1.179, allocations: 2.257 MB / 0.8402 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/1.179, allocations: 5.281 kB / 0.8402 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/1.179, allocations: 62 kB / 0.8402 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-05/1.179, allocations: 37.75 kB / 0.8403 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002769/1.182, allocations: 1.501 MB / 0.8417 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01039/1.192, allocations: 4.801 MB / 0.8464 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003036/1.195, allocations: 1.425 MB / 0.8478 GB, free: 404 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/1.196, allocations: 0.6694 MB / 0.8485 GB, free: 36 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006365/1.203, allocations: 2.692 MB / 0.8511 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.999e-05/1.203, allocations: 60.25 kB / 0.8512 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=166): time 7.895e-06/1.203, allocations: 5.391 kB / 0.8512 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=166): time 0.007112/1.21, allocations: 2.473 MB / 0.8536 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/1.21, allocations: 177.6 kB / 0.8538 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002343/1.212, allocations: 1.323 MB / 0.855 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002053/1.213, allocations: 57.7 kB / 0.8551 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008964/1.213, allocations: 0.8012 MB / 0.8559 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007902/1.214, allocations: 0.5964 MB / 0.8565 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005174/1.215, allocations: 291.5 kB / 0.8567 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001882/1.215, allocations: 305.1 kB / 0.857 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/1.216, allocations: 499.8 kB / 0.8575 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/1.218, allocations: 0.8299 MB / 0.8583 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002588/1.22, allocations: 1.431 MB / 0.8597 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/1.22, allocations: 4 kB / 0.8597 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004425/1.225, allocations: 1.87 MB / 0.8615 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/1.225, allocations: 12 kB / 0.8616 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001391/1.225, allocations: 12 kB / 0.8616 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/1.226, allocations: 222.7 kB / 0.8618 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/1.227, allocations: 382.8 kB / 0.8621 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008221/1.236, allocations: 7.138 MB / 0.8691 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/1.238, allocations: 159.7 kB / 0.8693 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000356/1.238, allocations: 75.98 kB / 0.8693 GB, free: 10.79 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.001427/1.24, allocations: 336.6 kB / 0.8697 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/1.241, allocations: 214.7 kB / 0.8699 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005748/1.247, allocations: 2.05 MB / 0.8719 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.683e-05/1.247, allocations: 16 kB / 0.8719 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/1.247, allocations: 8 kB / 0.8719 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.463e-05/1.247, allocations: 11.97 kB / 0.8719 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008771/1.255, allocations: 3.674 MB / 0.8755 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/1.255, allocations: 4 kB / 0.8755 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/1.257, allocations: 256.6 kB / 0.8757 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001948/1.258, allocations: 468.3 kB / 0.8762 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/1.259, allocations: 59.97 kB / 0.8762 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009562/1.268, allocations: 9.395 MB / 0.8854 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-05/1.268, allocations: 7.969 kB / 0.8854 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006679/1.275, allocations: 2.889 MB / 0.8883 GB, free: 6.637 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009621/1.276, allocations: 220.7 kB / 0.8885 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002625/1.276, allocations: 40.19 kB / 0.8885 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/1.277, allocations: 59.97 kB / 0.8886 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003582/1.278, allocations: 139.1 kB / 0.8887 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001616/1.278, allocations: 71.95 kB / 0.8888 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001593/1.279, allocations: 0.9015 MB / 0.8896 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/1.279, allocations: 0 / 0.8896 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003135/1.283, allocations: 0.7912 MB / 0.8904 GB, free: 4.434 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.00903/1.292, allocations: 4.101 MB / 0.8944 GB, free: 296 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004766/1.296, allocations: 1.907 MB / 0.8963 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/1.296, allocations: 0 / 0.8963 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002877/1.299, allocations: 1.386 MB / 0.8976 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003599/1.303, allocations: 0.6209 MB / 0.8982 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02861/1.331, allocations: 14.42 MB / 0.9123 GB, free: 13.46 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/1.333, allocations: 0.7661 MB / 0.9131 GB, free: 12.66 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001815/1.334, allocations: 354.3 kB / 0.9134 GB, free: 12.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001224/1.336, allocations: 0.7765 MB / 0.9142 GB, free: 11.53 MB / 0.67 GB Notification: Performance of SimCode: time 1.213e-06/1.336, allocations: 4 kB / 0.9142 GB, free: 11.52 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.167/1.503, allocations: 58.1 MB / 0.9709 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.99/18.49, allocations: 11.59 kB / 0.9709 GB, free: 2.145 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.929041661322117] Failed to read output from testmodel.py, exit status != 0: 18.652207234874368 18.683272153 17.513663867 Calling exit ...