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.0006818/0.0006818, 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.0008094/0.0008094, 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.841/0.841, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6124/0.6124, allocations: 116 MB / 375.2 MB, free: 4.188 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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: Performance of FrontEnd - loaded program: time 7.71e-07/7.71e-07, allocations: 0 / 0.5532 GB, free: 13.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.396e-06/9.167e-06, allocations: 6.281 kB / 0.5533 GB, free: 13.34 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.3925/0.3925, allocations: 169.1 MB / 0.7183 GB, free: 8.77 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01335/0.4059, allocations: 14.14 MB / 0.7322 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002333/0.4082, allocations: 113.7 kB / 0.7323 GB, free: 13.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.002243/0.4104, allocations: 0.9294 MB / 0.7332 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.005446/0.4159, allocations: 2.636 MB / 0.7357 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.003894/0.4198, allocations: 1.966 MB / 0.7377 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.004479/0.4243, allocations: 4.078 MB / 0.7416 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005678/0.4248, allocations: 271.9 kB / 0.7419 GB, free: 6.461 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003307/0.4281, allocations: 2.278 MB / 0.7441 GB, free: 5.09 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.4297, allocations: 1.45 MB / 0.7455 GB, free: 4.359 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0002157/0.4299, allocations: 168.1 kB / 0.7457 GB, free: 4.359 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003393/0.4333, allocations: 2.254 MB / 0.7479 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0003585/0.4337, allocations: 481.7 kB / 0.7484 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0008624/0.4346, allocations: 0.802 MB / 0.7492 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.004983/0.4395, allocations: 3.48 MB / 0.7525 GB, free: 452 kB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.4395, allocations: 0 / 0.7525 GB, free: 452 kB / 0.5886 GB Notification: Performance of FrontEnd: time 2.394e-06/0.4395, allocations: 3.984 kB / 0.7526 GB, free: 448 kB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.618e-05/0.4396, allocations: 0 / 0.7526 GB, free: 448 kB / 0.5886 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.003157/0.4427, allocations: 2.74 MB / 0.7552 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.4428, allocations: 7.969 kB / 0.7552 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/0.443, allocations: 209.6 kB / 0.7554 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004984/0.4435, allocations: 293.1 kB / 0.7557 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.4451, allocations: 1.344 MB / 0.757 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.207e-05/0.4452, allocations: 110.9 kB / 0.7571 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.4453, allocations: 159.9 kB / 0.7573 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.4472, allocations: 2.301 MB / 0.7595 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.4473, allocations: 3.938 kB / 0.7595 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.031e-05/0.4473, allocations: 70.38 kB / 0.7596 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.4474, allocations: 36 kB / 0.7596 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001581/0.4489, allocations: 1.517 MB / 0.7611 GB, free: 8.539 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005177/0.4541, allocations: 5.259 MB / 0.7663 GB, free: 3.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.4558, allocations: 1.395 MB / 0.7676 GB, free: 1.727 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000686/0.4565, allocations: 0.6468 MB / 0.7683 GB, free: 1.066 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003075/0.4596, allocations: 2.642 MB / 0.7708 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.4596, allocations: 71.81 kB / 0.7709 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=166): time 3.747e-06/0.4596, allocations: 3.984 kB / 0.7709 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=166): time 0.003627/0.4632, allocations: 2.476 MB / 0.7733 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.4633, allocations: 175.2 kB / 0.7735 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.4645, allocations: 1.445 MB / 0.7749 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.797e-05/0.4646, allocations: 57.7 kB / 0.775 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004519/0.4651, allocations: 0.8605 MB / 0.7758 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003053/0.4654, allocations: 0.6041 MB / 0.7764 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002527/0.4656, allocations: 291.5 kB / 0.7767 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.69e-05/0.4657, allocations: 305.1 kB / 0.777 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006152/0.4663, allocations: 495.8 kB / 0.7774 GB, free: 7.547 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007588/0.4671, allocations: 0.8584 MB / 0.7783 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.4685, allocations: 1.457 MB / 0.7797 GB, free: 4.945 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.4685, allocations: 0 / 0.7797 GB, free: 4.945 MB / 0.6198 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.00221/0.4707, allocations: 1.898 MB / 0.7815 GB, free: 3.027 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.4708, allocations: 8 kB / 0.7815 GB, free: 3.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.4708, allocations: 12.91 kB / 0.7816 GB, free: 3.008 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004462/0.4712, allocations: 232 kB / 0.7818 GB, free: 2.766 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007142/0.4719, allocations: 387.4 kB / 0.7822 GB, free: 2.387 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003531/0.4755, allocations: 7.12 MB / 0.7891 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000791/0.4763, allocations: 174.7 kB / 0.7893 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.721e-05/0.4764, allocations: 80.17 kB / 0.7893 GB, free: 10.45 MB / 0.6355 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.0004912/0.4769, allocations: 341.4 kB / 0.7897 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003246/0.4772, allocations: 230.6 kB / 0.7899 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002394/0.4796, allocations: 2.056 MB / 0.7919 GB, free: 7.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.4796, allocations: 16 kB / 0.7919 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.4796, allocations: 4 kB / 0.7919 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.4796, allocations: 11.97 kB / 0.7919 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004045/0.4836, allocations: 3.678 MB / 0.7955 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.4837, allocations: 4 kB / 0.7955 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005115/0.4842, allocations: 259.9 kB / 0.7958 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008921/0.4851, allocations: 471.2 kB / 0.7962 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-05/0.4851, allocations: 51.97 kB / 0.7963 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004425/0.4896, allocations: 9.421 MB / 0.8055 GB, free: 9.047 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.4896, allocations: 7.984 kB / 0.8055 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0037/0.4933, allocations: 2.871 MB / 0.8083 GB, free: 6.098 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008373/0.4941, allocations: 362 kB / 0.8086 GB, free: 5.742 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.4943, allocations: 51.81 kB / 0.8087 GB, free: 5.691 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005655/0.4948, allocations: 55.97 kB / 0.8087 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/0.4951, allocations: 136.7 kB / 0.8089 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.598e-05/0.4951, allocations: 71.89 kB / 0.8089 GB, free: 5.434 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001006/0.4961, allocations: 0.9841 MB / 0.8099 GB, free: 4.426 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.9e-07/0.4961, allocations: 0 / 0.8099 GB, free: 4.426 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001753/0.4979, allocations: 0.8226 MB / 0.8107 GB, free: 3.602 MB / 0.6511 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.004058/0.502, allocations: 4.099 MB / 0.8147 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002182/0.5041, allocations: 1.907 MB / 0.8166 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5041, allocations: 0 / 0.8166 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001285/0.5054, allocations: 1.374 MB / 0.8179 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/0.5079, allocations: 0.9003 MB / 0.8188 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01592/0.5238, allocations: 14.94 MB / 0.8334 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005795/0.5244, allocations: 0.8257 MB / 0.8342 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001096/0.5254, allocations: 383.9 kB / 0.8345 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006958/0.5261, allocations: 0.8244 MB / 0.8354 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of SimCode: time 8.81e-07/0.5261, allocations: 0 / 0.8354 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08283/0.609, allocations: 65.91 MB / 0.8997 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.471/10.08, allocations: 6.344 kB / 0.8997 GB, free: 8.449 MB / 0.7448 GB " [Timeout remaining time 650] (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: 12.567014567553997] Failed to read output from testmodel.py, exit status != 0: 10.202111945487559 10.213068651 9.771686625 Calling exit ...