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.001526/0.001526, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001608/0.001608, allocations: 215.5 kB / 22.25 MB, free: 5.258 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.585/1.585, allocations: 230.6 MB / 256 MB, free: 7.777 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.9915/0.9915, allocations: 94.62 MB / 407.1 MB, free: 8.859 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="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: 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.002554/0.002554, allocations: 87.55 kB / 0.5549 GB, free: 38.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2133, allocations: 73.05 MB / 0.6263 GB, free: 164 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.8766/1.09, allocations: 165.6 MB / 0.7881 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02895/1.119, allocations: 16.32 MB / 0.804 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003486/1.122, allocations: 99.44 kB / 0.8041 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003308/1.126, allocations: 0.896 MB / 0.805 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0085/1.134, allocations: 2.389 MB / 0.8073 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006082/1.14, allocations: 1.858 MB / 0.8091 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006441/1.147, allocations: 3.656 MB / 0.8127 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005651/1.147, allocations: 280.9 kB / 0.8129 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003533/1.151, allocations: 1.64 MB / 0.8145 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003085/1.154, allocations: 1.497 MB / 0.816 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004425/1.154, allocations: 168.6 kB / 0.8162 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006514/1.161, allocations: 2.231 MB / 0.8183 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006007/1.161, allocations: 461.2 kB / 0.8188 GB, free: 356 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001883/1.163, allocations: 0.9199 MB / 0.8197 GB, free: 0 / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009848/1.173, allocations: 3.241 MB / 0.8228 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/1.173, allocations: 4 kB / 0.8228 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.077e-06/1.173, allocations: 1.156 kB / 0.8229 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.006e-05/1.173, allocations: 0 / 0.8229 GB, free: 14.92 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.007009/1.18, allocations: 2.617 MB / 0.8254 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.972e-05/1.18, allocations: 9 kB / 0.8254 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003684/1.181, allocations: 215.6 kB / 0.8256 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009481/1.182, allocations: 273.9 kB / 0.8259 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003142/1.185, allocations: 1.224 MB / 0.8271 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/1.185, allocations: 110.8 kB / 0.8272 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002749/1.185, allocations: 156.2 kB / 0.8273 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003759/1.189, allocations: 2.259 MB / 0.8295 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.822e-05/1.189, allocations: 6.469 kB / 0.8295 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001623/1.189, allocations: 66 kB / 0.8296 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/1.189, allocations: 37.81 kB / 0.8296 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002775/1.192, allocations: 1.502 MB / 0.8311 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01042/1.202, allocations: 4.797 MB / 0.8358 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003205/1.206, allocations: 1.427 MB / 0.8372 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001287/1.207, allocations: 0.6658 MB / 0.8378 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006602/1.214, allocations: 2.694 MB / 0.8405 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.581e-05/1.214, allocations: 58.5 kB / 0.8405 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=166): time 4.238e-06/1.214, allocations: 0 / 0.8405 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of matching and sorting (n=166): time 0.007184/1.221, allocations: 2.475 MB / 0.8429 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/1.221, allocations: 187.6 kB / 0.8431 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/1.223, allocations: 1.311 MB / 0.8444 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001493/1.223, allocations: 59.08 kB / 0.8445 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009958/1.224, allocations: 0.805 MB / 0.8452 GB, free: 428 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000635/1.225, allocations: 0.5963 MB / 0.8458 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004738/1.225, allocations: 292.5 kB / 0.8461 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002807/1.226, allocations: 301.1 kB / 0.8464 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/1.227, allocations: 0.4907 MB / 0.8469 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001466/1.228, allocations: 0.826 MB / 0.8477 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002567/1.231, allocations: 1.434 MB / 0.8491 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/1.231, allocations: 4 kB / 0.8491 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004458/1.235, allocations: 1.874 MB / 0.8509 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/1.235, allocations: 8 kB / 0.8509 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/1.235, allocations: 8 kB / 0.8509 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008771/1.236, allocations: 230.7 kB / 0.8511 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/1.237, allocations: 382.7 kB / 0.8515 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007738/1.245, allocations: 7.136 MB / 0.8585 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/1.247, allocations: 166.8 kB / 0.8586 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002077/1.247, allocations: 71.98 kB / 0.8587 GB, free: 2.348 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.001098/1.248, allocations: 340.6 kB / 0.859 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007361/1.249, allocations: 207.9 kB / 0.8592 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004594/1.254, allocations: 2.061 MB / 0.8612 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/1.254, allocations: 27.94 kB / 0.8613 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.254, allocations: 4 kB / 0.8613 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.935e-05/1.254, allocations: 7.969 kB / 0.8613 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007578/1.261, allocations: 3.67 MB / 0.8649 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/1.261, allocations: 4 kB / 0.8649 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009959/1.262, allocations: 252.6 kB / 0.8651 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001813/1.264, allocations: 472.4 kB / 0.8656 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/1.264, allocations: 51.97 kB / 0.8656 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009734/1.274, allocations: 9.411 MB / 0.8748 GB, free: 1.168 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/1.274, allocations: 4 kB / 0.8748 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006266/1.28, allocations: 2.893 MB / 0.8776 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007225/1.281, allocations: 214.3 kB / 0.8778 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/1.281, allocations: 39.94 kB / 0.8779 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/1.282, allocations: 55.97 kB / 0.8779 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003388/1.283, allocations: 139.1 kB / 0.8781 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/1.283, allocations: 71.95 kB / 0.8781 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001515/1.284, allocations: 0.9054 MB / 0.879 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/1.284, allocations: 0 / 0.879 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00303/1.287, allocations: 0.7835 MB / 0.8798 GB, free: 12.04 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.007458/1.295, allocations: 4.085 MB / 0.8838 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004314/1.299, allocations: 1.915 MB / 0.8856 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/1.299, allocations: 0 / 0.8856 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002911/1.302, allocations: 1.383 MB / 0.887 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003761/1.306, allocations: 0.62 MB / 0.8876 GB, free: 4.004 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02885/1.335, allocations: 14.43 MB / 0.9017 GB, free: 5.121 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/1.336, allocations: 0.7584 MB / 0.9024 GB, free: 4.328 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001642/1.337, allocations: 354.3 kB / 0.9028 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/1.339, allocations: 0.7765 MB / 0.9035 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of SimCode: time 1.713e-06/1.339, allocations: 0 / 0.9035 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1523/1.491, allocations: 58.11 MB / 0.9603 GB, free: 9.781 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.44/20.93, allocations: 4 kB / 0.9603 GB, free: 9.777 MB / 0.7169 GB " [Timeout remaining time 639] (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: 25.349956904072315] Failed to read output from testmodel.py, exit status != 0: 21.099400845821947 21.126002486 19.947510272 Calling exit ...