Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 225.6 MB / 249.4 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.6458/0.6458, allocations: 94.61 MB / 399.1 MB, free: 15.77 MB / 334.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-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_FlowControl_Tests_BasicControlValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_FlowControl_Tests_BasicControlValve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002406/0.002406, allocations: 75.88 kB / 0.5444 GB, free: 12.58 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4415/0.4439, allocations: 71.84 MB / 0.6145 GB, free: 3.855 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve): time 0.07623/0.5201, allocations: 66.33 MB / 0.6793 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02645/0.5465, allocations: 17.69 MB / 0.6966 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003721/0.5503, allocations: 83.5 kB / 0.6967 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004339/0.5546, allocations: 1.195 MB / 0.6978 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01021/0.5648, allocations: 2.862 MB / 0.7006 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00588/0.5707, allocations: 1.565 MB / 0.7022 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008162/0.5788, allocations: 3.887 MB / 0.706 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/0.5803, allocations: 388.5 kB / 0.7063 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004196/0.5845, allocations: 1.622 MB / 0.7079 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003623/0.5881, allocations: 1.571 MB / 0.7094 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0008395/0.5889, allocations: 188 kB / 0.7096 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006954/0.5959, allocations: 1.732 MB / 0.7113 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007801/0.5967, allocations: 0.4939 MB / 0.7118 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002209/0.5989, allocations: 1.259 MB / 0.713 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01015/0.609, allocations: 3.841 MB / 0.7168 GB, free: 12.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.609, allocations: 0 / 0.7168 GB, free: 12.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.314e-06/0.609, allocations: 0 / 0.7168 GB, free: 12.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.144e-05/0.6091, allocations: 0 / 0.7168 GB, free: 12.05 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 479 * Number of variables: 479 Notification: Performance of Generate backend data structure: time 0.006951/0.6161, allocations: 3.076 MB / 0.7198 GB, free: 8.898 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.6161, allocations: 8.031 kB / 0.7198 GB, free: 8.891 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004731/0.6166, allocations: 266.3 kB / 0.72 GB, free: 8.621 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006245/0.6172, allocations: 295.1 kB / 0.7203 GB, free: 8.332 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002969/0.6202, allocations: 1.497 MB / 0.7218 GB, free: 6.785 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.6203, allocations: 140.1 kB / 0.7219 GB, free: 6.648 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003065/0.6206, allocations: 196.3 kB / 0.7221 GB, free: 6.457 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004029/0.6246, allocations: 2.159 MB / 0.7242 GB, free: 4.266 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/0.6247, allocations: 8 kB / 0.7242 GB, free: 4.258 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.6248, allocations: 76 kB / 0.7243 GB, free: 4.184 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4e-05/0.6249, allocations: 44 kB / 0.7243 GB, free: 4.141 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004367/0.6292, allocations: 2.271 MB / 0.7266 GB, free: 1.863 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01279/0.642, allocations: 8.974 MB / 0.7353 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003225/0.6452, allocations: 1.777 MB / 0.7371 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001561/0.6468, allocations: 0.8852 MB / 0.7379 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01007/0.6569, allocations: 6.781 MB / 0.7445 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00212/0.659, allocations: 0.9561 MB / 0.7455 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=200): time 4.709e-06/0.659, allocations: 0 / 0.7455 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=200): time 0.006586/0.6656, allocations: 3.011 MB / 0.7484 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.53e-05/0.6656, allocations: 73.41 kB / 0.7485 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/0.6678, allocations: 1.237 MB / 0.7497 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001546/0.6679, allocations: 57.7 kB / 0.7497 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009989/0.6689, allocations: 0.8802 MB / 0.7506 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008152/0.6697, allocations: 0.6931 MB / 0.7513 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005562/0.6703, allocations: 331.5 kB / 0.7516 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.6705, allocations: 305.1 kB / 0.7519 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.6718, allocations: 0.6481 MB / 0.7525 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001752/0.6736, allocations: 0.891 MB / 0.7534 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003205/0.6768, allocations: 1.669 MB / 0.755 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.6768, allocations: 0 / 0.755 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004836/0.6816, allocations: 2.156 MB / 0.7571 GB, free: 500 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.956e-05/0.6817, allocations: 37.69 kB / 0.7572 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.6817, allocations: 4 kB / 0.7572 GB, free: 452 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006532/0.6824, allocations: 162.4 kB / 0.7573 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.6838, allocations: 399.5 kB / 0.7577 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004886/0.6887, allocations: 4.841 MB / 0.7624 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.6903, allocations: 162.8 kB / 0.7626 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002812/0.6906, allocations: 83.97 kB / 0.7627 GB, free: 10.38 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008432/0.6914, allocations: 373.3 kB / 0.763 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005325/0.6919, allocations: 210.6 kB / 0.7632 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006569/0.6985, allocations: 3.399 MB / 0.7665 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.49e-05/0.6985, allocations: 24 kB / 0.7666 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.6986, allocations: 8 kB / 0.7666 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.897e-05/0.6986, allocations: 15.89 kB / 0.7666 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009382/0.708, allocations: 4.776 MB / 0.7713 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.708, allocations: 4 kB / 0.7713 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001449/0.7094, allocations: 399.5 kB / 0.7716 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006101/0.71, allocations: 170.5 kB / 0.7718 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001781/0.7102, allocations: 71.95 kB / 0.7719 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005038/0.7153, allocations: 4.837 MB / 0.7766 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.7153, allocations: 3.938 kB / 0.7766 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007101/0.7224, allocations: 3.321 MB / 0.7798 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/0.7235, allocations: 0.5417 MB / 0.7804 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003137/0.7238, allocations: 52 kB / 0.7804 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008338/0.7247, allocations: 55.91 kB / 0.7805 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004008/0.7251, allocations: 177.7 kB / 0.7806 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001853/0.7252, allocations: 83.97 kB / 0.7807 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001304/0.7266, allocations: 0.8626 MB / 0.7816 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.7266, allocations: 0 / 0.7816 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00251/0.7291, allocations: 0.8691 MB / 0.7824 GB, free: 5.621 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.rear.m_flow,flowResistance2.rear.m_flow,flowResistance4.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 220 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008145/0.7372, allocations: 4.62 MB / 0.7869 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004311/0.7415, allocations: 2.149 MB / 0.789 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.7415, allocations: 0 / 0.789 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002486/0.744, allocations: 1.363 MB / 0.7904 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/0.747, allocations: 0.6521 MB / 0.791 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.026/0.773, allocations: 14.58 MB / 0.8052 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/0.7743, allocations: 1.471 MB / 0.8067 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001726/0.776, allocations: 0.5114 MB / 0.8072 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001459/0.7775, allocations: 0.9952 MB / 0.8081 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of SimCode: time 1.453e-06/0.7775, allocations: 0 / 0.8081 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4927/1.27, allocations: 61 MB / 0.8677 GB, free: 217.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/16.47, allocations: 3.812 kB / 0.8677 GB, free: 217.6 MB / 0.6856 GB " [Timeout remaining time 643] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_res.csv --start-time 0 --stop-time 20 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 ThermofluidStream_dev_ThermofluidStream_Undirected_FlowControl_Tests_BasicControlValve.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 20.16323072099476] Failed to read output from testmodel.py, exit status != 0: 16.59131642401917 16.613167728 15.999593713 Calling exit ...