Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_TILMedia.Testers.TestGas_moistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.005552/0.005552, allocations: 1.446 MB / 20.54 MB, free: 4.008 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.5274/0.5274, allocations: 102.5 MB / 126.5 MB, free: 13.05 MB / 122.8 MB " [Timeout remaining time 179] 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.0008724/0.0008724, allocations: 83.28 kB / 158.3 MB, free: 13.41 MB / 154.8 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.001128/0.001128, allocations: 156.4 kB / 190.1 MB, free: 31.35 MB / 170.8 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.9039/0.9039, allocations: 177.1 MB / 399 MB, free: 7.5 MB / 314.8 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/package.mo): time 0.06812/0.06812, allocations: 18.23 MB / 0.4905 GB, free: 0.5938 MB / 410.8 MB " [Timeout remaining time 180] Using package TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 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) Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo) Using package SMArtInt with version 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(TILMedia.Testers.TestGas_moistAir,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas_moistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestGas_moistAir,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas_moistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6825 GB, free: 2.719 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.816e-05, allocations: 4.672 kB / 0.6825 GB, free: 2.715 MB / 490.8 MB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas_moistAir): time 0.002732/0.00276, allocations: 2.23 MB / 0.6847 GB, free: 480 kB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.009263/0.01202, allocations: 10.27 MB / 0.6947 GB, free: 6.16 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.01221, allocations: 4 kB / 0.6947 GB, free: 6.156 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.0007528/0.01296, allocations: 214.8 kB / 0.6949 GB, free: 5.945 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.01326, allocations: 179 kB / 0.6951 GB, free: 5.77 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.003798/0.01705, allocations: 2.398 MB / 0.6974 GB, free: 3.359 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.0008981/0.01795, allocations: 0.6798 MB / 0.6981 GB, free: 2.68 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 6.804e-05/0.01802, allocations: 28.91 kB / 0.6981 GB, free: 2.648 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003064/0.01833, allocations: 311.4 kB / 0.6984 GB, free: 2.344 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005791/0.01891, allocations: 0.8074 MB / 0.6992 GB, free: 1.535 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0002092/0.01912, allocations: 184 kB / 0.6994 GB, free: 1.355 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003644/0.02276, allocations: 2.743 MB / 0.7021 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004761/0.02324, allocations: 0.6236 MB / 0.7027 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004281/0.02366, allocations: 0.499 MB / 0.7032 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.006059/0.02972, allocations: 4.251 MB / 0.7073 GB, free: 9.219 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.02973, allocations: 4 kB / 0.7073 GB, free: 9.215 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.773e-06/0.02973, allocations: 0 / 0.7073 GB, free: 9.215 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.596e-05/0.02976, allocations: 0 / 0.7073 GB, free: 9.215 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.003607/0.03336, allocations: 2.436 MB / 0.7097 GB, free: 6.738 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.03341, allocations: 11.97 kB / 0.7097 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/0.03355, allocations: 110.7 kB / 0.7098 GB, free: 6.609 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003043/0.03385, allocations: 88.33 kB / 0.7099 GB, free: 6.523 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/0.03586, allocations: 1.475 MB / 0.7114 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.03588, allocations: 33.38 kB / 0.7114 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.089e-05/0.03597, allocations: 40.38 kB / 0.7114 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003965/0.03993, allocations: 2.955 MB / 0.7143 GB, free: 1.973 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.03995, allocations: 12.06 kB / 0.7143 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.859e-05/0.04002, allocations: 23.94 kB / 0.7143 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.909e-05/0.04009, allocations: 97.94 kB / 0.7144 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00733/0.04742, allocations: 8.41 MB / 0.7226 GB, free: 9.426 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007678/0.05509, allocations: 7.006 MB / 0.7295 GB, free: 2.285 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/0.05767, allocations: 1.463 MB / 0.7309 GB, free: 0.8125 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000833/0.05851, allocations: 0.9525 MB / 0.7318 GB, free: 15.86 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002606/0.05877, allocations: 176.8 kB / 0.732 GB, free: 15.68 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.05879, allocations: 43.56 kB / 0.7321 GB, free: 15.63 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=114): time 3.055e-06/0.05879, allocations: 0 / 0.7321 GB, free: 15.63 MB / 0.5418 GB Notification: Performance of matching and sorting (n=114): time 0.006/0.06479, allocations: 3.736 MB / 0.7357 GB, free: 11.89 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.06484, allocations: 60.41 kB / 0.7358 GB, free: 11.82 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005973/0.06543, allocations: 0.698 MB / 0.7364 GB, free: 11.11 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 6.937e-05/0.0655, allocations: 49.7 kB / 0.7365 GB, free: 11.05 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.06569, allocations: 349 kB / 0.7368 GB, free: 10.71 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.000231/0.06592, allocations: 404.4 kB / 0.7372 GB, free: 10.31 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002889/0.06621, allocations: 294.8 kB / 0.7375 GB, free: 10.02 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.06634, allocations: 394.7 kB / 0.7379 GB, free: 9.621 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009734/0.06732, allocations: 0.9902 MB / 0.7388 GB, free: 8.633 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/0.06856, allocations: 1.293 MB / 0.7401 GB, free: 7.219 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002084/0.07064, allocations: 2.382 MB / 0.7424 GB, free: 4.715 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.07065, allocations: 0 / 0.7424 GB, free: 4.715 MB / 0.5418 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002457/0.07311, allocations: 2.531 MB / 0.7449 GB, free: 2.176 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.07313, allocations: 8 kB / 0.7449 GB, free: 2.168 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.07314, allocations: 12 kB / 0.7449 GB, free: 2.156 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.07317, allocations: 15.98 kB / 0.7449 GB, free: 2.141 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.07438, allocations: 430.4 kB / 0.7453 GB, free: 1.723 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003087/0.07469, allocations: 0.6093 MB / 0.7459 GB, free: 1.09 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004664/0.07515, allocations: 127.1 kB / 0.7461 GB, free: 0.9648 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.0753, allocations: 152 kB / 0.7462 GB, free: 0.8164 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (152): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000397/0.07569, allocations: 325.3 kB / 0.7465 GB, free: 500 kB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.07584, allocations: 83.48 kB / 0.7466 GB, free: 416 kB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00315/0.07899, allocations: 2.986 MB / 0.7495 GB, free: 13.41 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.079, allocations: 15.98 kB / 0.7495 GB, free: 13.39 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.07901, allocations: 3.938 kB / 0.7495 GB, free: 13.39 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.07901, allocations: 3.984 kB / 0.7495 GB, free: 13.39 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.08013, allocations: 1.221 MB / 0.7507 GB, free: 12.12 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.08014, allocations: 0 / 0.7507 GB, free: 12.12 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.08116, allocations: 353.6 kB / 0.7511 GB, free: 11.78 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/0.08117, allocations: 8 kB / 0.7511 GB, free: 11.77 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.855e-05/0.08124, allocations: 51.97 kB / 0.7511 GB, free: 11.72 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002454/0.08149, allocations: 0.5938 MB / 0.7517 GB, free: 11.11 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.08149, allocations: 0 / 0.7517 GB, free: 11.11 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/0.08377, allocations: 2.344 MB / 0.754 GB, free: 8.742 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004475/0.08421, allocations: 326.8 kB / 0.7543 GB, free: 8.422 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-05/0.0843, allocations: 23.98 kB / 0.7543 GB, free: 8.398 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.08455, allocations: 28.09 kB / 0.7543 GB, free: 8.371 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.08467, allocations: 96.84 kB / 0.7544 GB, free: 8.277 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.08478, allocations: 140 kB / 0.7546 GB, free: 8.141 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0003901/0.08517, allocations: 494.8 kB / 0.755 GB, free: 7.66 MB / 0.5574 GB Notification: Performance of sort global known variables: time 7e-08/0.08517, allocations: 0 / 0.755 GB, free: 7.66 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0008728/0.08605, allocations: 443.1 kB / 0.7555 GB, free: 7.227 MB / 0.5574 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 (114): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003399/0.08945, allocations: 3.812 MB / 0.7592 GB, free: 3.621 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.002366/0.09181, allocations: 2.411 MB / 0.7615 GB, free: 1.207 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.09182, allocations: 0.6875 kB / 0.7615 GB, free: 1.207 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0009496/0.09277, allocations: 1.153 MB / 0.7627 GB, free: 56 kB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1849/0.2777, allocations: 216.2 kB / 0.7629 GB, free: 85.19 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.2901, allocations: 13.14 MB / 0.7757 GB, free: 80.14 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.2905, allocations: 422.6 kB / 0.7761 GB, free: 80.02 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.001317/0.2918, allocations: 0.6863 MB / 0.7768 GB, free: 79.97 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005525/0.2923, allocations: 375.1 kB / 0.7771 GB, free: 79.75 MB / 0.5574 GB Notification: Performance of SimCode: time 2.024e-06/0.2924, allocations: 0 / 0.7771 GB, free: 79.75 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03525/0.3276, allocations: 28.05 MB / 0.8045 GB, free: 66.24 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.135/8.462, allocations: 4 kB / 0.8045 GB, free: 66.23 MB / 0.5574 GB " [Timeout remaining time 651] (rm -f TILMedia_TILMedia.Testers.TestGas_moistAir.pipe ; mkfifo TILMedia_TILMedia.Testers.TestGas_moistAir.pipe ; head -c 1048576 < TILMedia_TILMedia.Testers.TestGas_moistAir.pipe >> ../files/TILMedia_TILMedia.Testers.TestGas_moistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_TILMedia_TILMedia_Testers_TestGas_moistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 TILMedia_TILMedia_Testers_TestGas_moistAir.fmu > TILMedia_TILMedia.Testers.TestGas_moistAir.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.303022748790681] Failed to read output from testmodel.py, exit status != 0: 8.754518888890743 8.762539507 8.7312909 Calling exit ...