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/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.005808/0.005808, allocations: 1.442 MB / 20.54 MB, free: 4.012 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.5303/0.5303, allocations: 102.5 MB / 126.5 MB, free: 13.02 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.0007854/0.0007854, allocations: 89.39 kB / 158.3 MB, free: 13.38 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.0009607/0.0009607, allocations: 160.3 kB / 190.1 MB, free: 31.15 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.9046/0.9046, allocations: 177.1 MB / 399 MB, free: 7.484 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.06917/0.06917, allocations: 18.23 MB / 0.4905 GB, free: 0.5898 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,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] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.6825 GB, free: 2.711 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.288e-06/1.045e-05, allocations: 6.219 kB / 0.6825 GB, free: 2.703 MB / 490.8 MB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas): time 0.002383/0.002393, allocations: 2.64 MB / 0.6851 GB, free: 48 kB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.008764/0.01116, allocations: 10.47 MB / 0.6953 GB, free: 5.543 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.01131, allocations: 4 kB / 0.6953 GB, free: 5.539 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.0006539/0.01196, allocations: 242.6 kB / 0.6956 GB, free: 5.301 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.0003038/0.01227, allocations: 270.5 kB / 0.6958 GB, free: 5.035 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.003712/0.01598, allocations: 2.507 MB / 0.6983 GB, free: 2.516 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.0007523/0.01673, allocations: 1.012 MB / 0.6993 GB, free: 1.5 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 5.59e-05/0.01679, allocations: 21.28 kB / 0.6993 GB, free: 1.477 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003611/0.01715, allocations: 475 kB / 0.6997 GB, free: 1.012 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007409/0.01789, allocations: 1.209 MB / 0.7009 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002659/0.01816, allocations: 276 kB / 0.7012 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003/0.02116, allocations: 2.829 MB / 0.7039 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0005982/0.02175, allocations: 0.8887 MB / 0.7048 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004487/0.0222, allocations: 0.733 MB / 0.7055 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003612/0.02581, allocations: 5.112 MB / 0.7105 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.02582, allocations: 0 / 0.7105 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.002e-06/0.02582, allocations: 0 / 0.7105 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.02583, allocations: 4 kB / 0.7105 GB, free: 5.941 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003507/0.02934, allocations: 3.227 MB / 0.7137 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.02937, allocations: 8.031 kB / 0.7137 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001518/0.02952, allocations: 144.2 kB / 0.7138 GB, free: 2.516 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002366/0.02976, allocations: 124.1 kB / 0.7139 GB, free: 2.395 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002167/0.03193, allocations: 2.177 MB / 0.7161 GB, free: 200 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.03195, allocations: 41.69 kB / 0.7161 GB, free: 160 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.03207, allocations: 60.3 kB / 0.7161 GB, free: 100 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004814/0.03688, allocations: 4.264 MB / 0.7203 GB, free: 11.78 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.03689, allocations: 4.188 kB / 0.7203 GB, free: 11.78 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.772e-05/0.03699, allocations: 31.92 kB / 0.7203 GB, free: 11.75 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.974e-05/0.03707, allocations: 137.9 kB / 0.7205 GB, free: 11.61 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00977/0.04684, allocations: 12.46 MB / 0.7326 GB, free: 15.14 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008616/0.05546, allocations: 8.158 MB / 0.7406 GB, free: 6.887 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002732/0.05819, allocations: 1.249 MB / 0.7418 GB, free: 5.625 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004034/0.05859, allocations: 388.6 kB / 0.7422 GB, free: 5.246 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002131/0.05881, allocations: 141.2 kB / 0.7423 GB, free: 5.109 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.05883, allocations: 51.81 kB / 0.7424 GB, free: 5.051 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=142): time 2.535e-06/0.05883, allocations: 0 / 0.7424 GB, free: 5.051 MB / 0.5418 GB Notification: Performance of matching and sorting (n=142): time 0.005435/0.06427, allocations: 2.387 MB / 0.7447 GB, free: 2.656 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.0643, allocations: 72.72 kB / 0.7448 GB, free: 2.574 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.0656, allocations: 1.674 MB / 0.7464 GB, free: 0.875 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/0.06565, allocations: 49.7 kB / 0.7465 GB, free: 0.8203 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003675/0.06601, allocations: 0.5588 MB / 0.747 GB, free: 260 kB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/0.06623, allocations: 0.5037 MB / 0.7475 GB, free: 15.74 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004064/0.06664, allocations: 443.3 kB / 0.7479 GB, free: 15.3 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 9.316e-05/0.06673, allocations: 361.9 kB / 0.7483 GB, free: 14.95 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008533/0.06759, allocations: 0.808 MB / 0.7491 GB, free: 14.14 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.06872, allocations: 1.473 MB / 0.7505 GB, free: 12.36 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.07045, allocations: 2.116 MB / 0.7526 GB, free: 9.945 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.07046, allocations: 4 kB / 0.7526 GB, free: 9.941 MB / 0.5574 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.002684/0.07314, allocations: 2.558 MB / 0.7551 GB, free: 7.379 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.07316, allocations: 17.56 kB / 0.7551 GB, free: 7.363 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.07318, allocations: 20 kB / 0.7551 GB, free: 7.344 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/0.0732, allocations: 32 kB / 0.7551 GB, free: 7.312 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008595/0.07406, allocations: 0.5155 MB / 0.7556 GB, free: 6.797 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.516e-05/0.07409, allocations: 47.8 kB / 0.7557 GB, free: 6.75 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008198/0.07491, allocations: 226.5 kB / 0.7559 GB, free: 6.527 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001772/0.07508, allocations: 252 kB / 0.7561 GB, free: 6.281 MB / 0.5574 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 (239): * Single equations (assignments): 239 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0003524/0.07543, allocations: 441 kB / 0.7566 GB, free: 5.84 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.07561, allocations: 135 kB / 0.7567 GB, free: 5.707 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002512/0.07813, allocations: 2.169 MB / 0.7588 GB, free: 3.523 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.07813, allocations: 12 kB / 0.7588 GB, free: 3.512 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.07814, allocations: 3.984 kB / 0.7588 GB, free: 3.508 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.07815, allocations: 11.92 kB / 0.7588 GB, free: 3.496 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007109/0.07886, allocations: 0.83 MB / 0.7597 GB, free: 2.621 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.07886, allocations: 0 / 0.7597 GB, free: 2.621 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004342/0.07929, allocations: 335.5 kB / 0.76 GB, free: 2.293 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.0793, allocations: 4 kB / 0.76 GB, free: 2.289 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.896e-05/0.07936, allocations: 91.89 kB / 0.7601 GB, free: 2.199 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.07936, allocations: 4 kB / 0.7601 GB, free: 2.195 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.07936, allocations: 0 / 0.7601 GB, free: 2.195 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.08079, allocations: 1.295 MB / 0.7613 GB, free: 0.8828 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004214/0.08122, allocations: 394.5 kB / 0.7617 GB, free: 0.4961 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.08133, allocations: 28 kB / 0.7617 GB, free: 480 kB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.08164, allocations: 35.97 kB / 0.7618 GB, free: 444 kB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.08176, allocations: 133.1 kB / 0.7619 GB, free: 312 kB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/0.08188, allocations: 207.9 kB / 0.7621 GB, free: 104 kB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.2152/0.2971, allocations: 1.152 MB / 0.7632 GB, free: 81.08 MB / 0.5574 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2971, allocations: 0 / 0.7632 GB, free: 81.08 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.001422/0.2985, allocations: 0.5581 MB / 0.7638 GB, free: 81.08 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 (142): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.00267/0.3012, allocations: 2.689 MB / 0.7664 GB, free: 80.25 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.001603/0.3028, allocations: 1.586 MB / 0.7679 GB, free: 79.86 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3028, allocations: 4.969 kB / 0.7679 GB, free: 79.86 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0005044/0.3033, allocations: 0.5349 MB / 0.7685 GB, free: 79.73 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006726/0.304, allocations: 259.5 kB / 0.7687 GB, free: 79.62 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.315, allocations: 13.38 MB / 0.7818 GB, free: 72.85 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.3155, allocations: 0.5486 MB / 0.7823 GB, free: 72.68 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.002074/0.3176, allocations: 1.293 MB / 0.7836 GB, free: 72.2 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008379/0.3184, allocations: 0.6136 MB / 0.7842 GB, free: 71.83 MB / 0.5574 GB Notification: Performance of SimCode: time 6.61e-07/0.3184, allocations: 0.875 kB / 0.7842 GB, free: 71.83 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.3518, allocations: 36.68 MB / 0.82 GB, free: 47.84 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.438/7.789, allocations: 3.594 kB / 0.82 GB, free: 47.84 MB / 0.5574 GB " [Timeout remaining time 652] (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.002 --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: 10.663688115775585] Failed to read output from testmodel.py, exit status != 0: 8.078953347168863 8.085252105 8.058223593 Calling exit ...