Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_TILMedia.Testers.TestGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.1.1-Release_Dymola_2023x_Refresh_1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.1.1-Release_Dymola_2023x_Refresh_1/package.mo): time 0.008031/0.008031, allocations: 1.424 MB / 17.77 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.861/0.861, allocations: 129 MB / 149.9 MB, free: 12.11 MB / 126.1 MB " [Timeout remaining time 179] 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.001205/0.001205, allocations: 106.8 kB / 180.7 MB, free: 3.727 MB / 142.1 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.00143/0.00143, allocations: 191.5 kB / 211.8 MB, free: 9.973 MB / 174.1 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.529/1.529, allocations: 225.6 MB / 468.2 MB, free: 12.18 MB / 318.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo): time 0.1087/0.1087, allocations: 23.17 MB / 0.5609 GB, free: 5.82 MB / 414.1 MB " [Timeout remaining time 180] Using package TILMedia with version 1.8.2 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-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) Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo) Using package SMArtIInt with version 0.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.1.1-Release_Dymola_2023x_Refresh_1/package.mo) Running command: "" <> buildModelFMU(TILMedia.Testers.TestGas,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestGas,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package SMArtIInt of version 0.2.2, but this package was already loaded with version 0.1.1. There are no conversion annotations for this version but 0.2.2 is newer than 0.1.1. There is a possibility that 0.1.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.003614/0.003614, allocations: 132.3 kB / 0.7465 GB, free: 4.703 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.461/0.4646, allocations: 86.81 MB / 0.8313 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas): time 0.003768/0.4684, allocations: 2.863 MB / 0.8341 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005875/0.4743, allocations: 4.478 MB / 0.8385 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00041/0.4747, allocations: 3.625 kB / 0.8385 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.4758, allocations: 231.4 kB / 0.8387 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007604/0.4765, allocations: 265.1 kB / 0.8389 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002355/0.4789, allocations: 0.7559 MB / 0.8397 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001421/0.4803, allocations: 0.8629 MB / 0.8405 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.086e-05/0.4804, allocations: 20.72 kB / 0.8405 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005188/0.4809, allocations: 308.3 kB / 0.8408 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001467/0.4824, allocations: 1.171 MB / 0.842 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004594/0.4829, allocations: 259.1 kB / 0.8422 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002952/0.4858, allocations: 1.494 MB / 0.8437 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.4869, allocations: 0.8278 MB / 0.8445 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001283/0.4881, allocations: 0.8861 MB / 0.8454 GB, free: 11.65 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00566/0.4938, allocations: 3.112 MB / 0.8484 GB, free: 9.762 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4938, allocations: 0 / 0.8484 GB, free: 9.762 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4938, allocations: 1.375 kB / 0.8484 GB, free: 9.762 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.249e-05/0.4939, allocations: 0 / 0.8484 GB, free: 9.762 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.007881/0.5017, allocations: 2.841 MB / 0.8512 GB, free: 8.062 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.5018, allocations: 9.562 kB / 0.8512 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002924/0.5021, allocations: 131.6 kB / 0.8513 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005415/0.5026, allocations: 115.2 kB / 0.8514 GB, free: 7.887 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004769/0.5074, allocations: 2.121 MB / 0.8535 GB, free: 6.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/0.5074, allocations: 34.86 kB / 0.8535 GB, free: 6.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001935/0.5076, allocations: 38.41 kB / 0.8536 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003727/0.5114, allocations: 2.355 MB / 0.8559 GB, free: 5.129 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.5114, allocations: 3.984 kB / 0.8559 GB, free: 5.125 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.5115, allocations: 16.72 kB / 0.8559 GB, free: 5.113 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.598e-05/0.5116, allocations: 51.5 kB / 0.8559 GB, free: 5.098 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005709/0.5173, allocations: 3.795 MB / 0.8596 GB, free: 3.457 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01444/0.5317, allocations: 6.29 MB / 0.8658 GB, free: 15.36 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005436/0.5323, allocations: 372.2 kB / 0.8661 GB, free: 15.2 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/0.5326, allocations: 270.2 kB / 0.8664 GB, free: 15.07 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.5327, allocations: 22.48 kB / 0.8664 GB, free: 15.06 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.5327, allocations: 32.08 kB / 0.8664 GB, free: 15.02 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=142): time 2.565e-06/0.5327, allocations: 1.062 kB / 0.8665 GB, free: 15.02 MB / 0.5607 GB Notification: Performance of matching and sorting (n=142): time 0.00169/0.5344, allocations: 1.177 MB / 0.8676 GB, free: 14.54 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.5345, allocations: 58.11 kB / 0.8677 GB, free: 14.47 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/0.537, allocations: 1.646 MB / 0.8693 GB, free: 13.45 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.537, allocations: 29.7 kB / 0.8693 GB, free: 13.42 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004849/0.5375, allocations: 0.5666 MB / 0.8698 GB, free: 12.84 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004215/0.5379, allocations: 495.7 kB / 0.8703 GB, free: 12.36 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005508/0.5385, allocations: 286.4 kB / 0.8706 GB, free: 12.07 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.5387, allocations: 353.9 kB / 0.8709 GB, free: 11.72 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.5398, allocations: 0.7251 MB / 0.8716 GB, free: 11 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.5415, allocations: 1.382 MB / 0.873 GB, free: 9.316 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002457/0.5439, allocations: 1.939 MB / 0.8749 GB, free: 7.074 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.5439, allocations: 4 kB / 0.8749 GB, free: 7.07 MB / 0.5607 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.003696/0.5476, allocations: 2.215 MB / 0.877 GB, free: 4.848 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/0.5477, allocations: 16 kB / 0.8771 GB, free: 4.832 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.963e-05/0.5478, allocations: 44.83 kB / 0.8771 GB, free: 4.789 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.364e-05/0.5478, allocations: 28 kB / 0.8771 GB, free: 4.762 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.5489, allocations: 247.5 kB / 0.8774 GB, free: 4.52 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.607e-05/0.549, allocations: 43.8 kB / 0.8774 GB, free: 4.477 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/0.551, allocations: 214.5 kB / 0.8776 GB, free: 4.266 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001821/0.5512, allocations: 92 kB / 0.8777 GB, free: 4.176 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (125): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007515/0.5519, allocations: 389.2 kB / 0.8781 GB, free: 3.785 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/0.5523, allocations: 119.1 kB / 0.8782 GB, free: 3.668 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003597/0.5526, allocations: 129 kB / 0.8783 GB, free: 3.535 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.5527, allocations: 4 kB / 0.8783 GB, free: 3.531 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.5527, allocations: 7.938 kB / 0.8783 GB, free: 3.523 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.5527, allocations: 3.938 kB / 0.8783 GB, free: 3.52 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.5541, allocations: 0.842 MB / 0.8791 GB, free: 2.625 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.975e-05/0.5542, allocations: 23.98 kB / 0.8792 GB, free: 2.602 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.5543, allocations: 47.91 kB / 0.8792 GB, free: 2.555 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.5543, allocations: 3.938 kB / 0.8792 GB, free: 2.551 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.5544, allocations: 19.98 kB / 0.8792 GB, free: 2.531 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.5544, allocations: 0 / 0.8792 GB, free: 2.531 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5544, allocations: 3.938 kB / 0.8792 GB, free: 2.527 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.5558, allocations: 0.946 MB / 0.8802 GB, free: 1.562 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008009/0.5566, allocations: 327.8 kB / 0.8805 GB, free: 1.223 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002394/0.5569, allocations: 4 kB / 0.8805 GB, free: 1.219 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007006/0.5576, allocations: 19.97 kB / 0.8805 GB, free: 1.199 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.5576, allocations: 23.92 kB / 0.8805 GB, free: 1.176 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.383e-05/0.5577, allocations: 51.98 kB / 0.8806 GB, free: 1.125 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.001848/0.5596, allocations: 1.153 MB / 0.8817 GB, free: 15.96 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/0.5596, allocations: 0 / 0.8817 GB, free: 15.96 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.001699/0.5612, allocations: 415.3 kB / 0.8821 GB, free: 15.55 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (28): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003296/0.5645, allocations: 2.003 MB / 0.884 GB, free: 13.66 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.002649/0.5672, allocations: 1.623 MB / 0.8856 GB, free: 11.98 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5672, allocations: 0 / 0.8856 GB, free: 11.98 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0007677/0.568, allocations: 0.6722 MB / 0.8863 GB, free: 11.26 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.5695, allocations: 215.2 kB / 0.8865 GB, free: 11.04 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01949/0.589, allocations: 12.2 MB / 0.8984 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009818/0.59, allocations: 1.14 MB / 0.8995 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001638/0.5917, allocations: 478.9 kB / 0.9 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007575/0.5924, allocations: 407.2 kB / 0.9004 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of SimCode: time 1.103e-06/0.5924, allocations: 0 / 0.9004 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07145/0.6639, allocations: 30.65 MB / 0.9303 GB, free: 13.54 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.4, allocations: 3.906 kB / 0.9303 GB, free: 13.54 MB / 0.6232 GB " [Timeout remaining time 648] (rm -f TILMedia_TILMedia.Testers.TestGas.pipe ; mkfifo TILMedia_TILMedia.Testers.TestGas.pipe ; head -c 1048576 < TILMedia_TILMedia.Testers.TestGas.pipe >> ../files/TILMedia_TILMedia.Testers.TestGas.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_TILMedia_TILMedia_Testers_TestGas_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 TILMedia_TILMedia_Testers_TestGas.fmu > TILMedia_TILMedia.Testers.TestGas.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.823776596225798] Failed to read output from testmodel.py, exit status != 0: 11.770095610059798 11.78464571 11.287799013 Calling exit ...