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.0075/0.0075, 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.5838/0.5838, 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.0008457/0.0008457, allocations: 89.67 kB / 158.3 MB, free: 13.39 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.001593/0.001593, allocations: 165.8 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.9836/0.9836, allocations: 177.1 MB / 399 MB, free: 7.516 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.06828/0.06828, allocations: 18.23 MB / 0.4905 GB, free: 0.6172 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.463e-06/1.463e-06, allocations: 0 / 0.6825 GB, free: 2.742 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119e-05/1.265e-05, allocations: 2.281 kB / 0.6825 GB, free: 2.738 MB / 490.8 MB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas): time 0.002653/0.002666, allocations: 2.645 MB / 0.6851 GB, free: 80 kB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.008596/0.01126, allocations: 10.46 MB / 0.6953 GB, free: 5.582 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.0114, allocations: 7.938 kB / 0.6953 GB, free: 5.574 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.0006554/0.01205, allocations: 246.7 kB / 0.6956 GB, free: 5.332 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.01235, allocations: 274.4 kB / 0.6958 GB, free: 5.062 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.003268/0.01562, allocations: 2.503 MB / 0.6983 GB, free: 2.547 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.0007564/0.01637, allocations: 1.016 MB / 0.6993 GB, free: 1.527 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 6.304e-05/0.01644, allocations: 25.28 kB / 0.6993 GB, free: 1.5 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003317/0.01677, allocations: 475 kB / 0.6997 GB, free: 1.035 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008263/0.0176, allocations: 1.205 MB / 0.7009 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002219/0.01782, allocations: 276 kB / 0.7012 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002907/0.02072, allocations: 2.829 MB / 0.7039 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004953/0.02122, allocations: 0.8887 MB / 0.7048 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004809/0.0217, allocations: 0.729 MB / 0.7055 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003689/0.02539, allocations: 5.12 MB / 0.7105 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.02539, allocations: 0 / 0.7105 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.362e-06/0.02539, allocations: 0 / 0.7105 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.02541, allocations: 0 / 0.7105 GB, free: 5.969 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.003693/0.0291, allocations: 3.227 MB / 0.7137 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.02914, allocations: 8.031 kB / 0.7137 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001616/0.0293, allocations: 136.2 kB / 0.7138 GB, free: 2.551 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002546/0.02956, allocations: 124.1 kB / 0.7139 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002462/0.03202, allocations: 2.183 MB / 0.7161 GB, free: 228 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.03205, allocations: 41.69 kB / 0.7161 GB, free: 188 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.03218, allocations: 60.3 kB / 0.7162 GB, free: 128 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004987/0.03716, allocations: 4.272 MB / 0.7203 GB, free: 11.8 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.03718, allocations: 192 / 0.7203 GB, free: 11.8 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.03728, allocations: 27.92 kB / 0.7204 GB, free: 11.77 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.407e-05/0.03737, allocations: 141.9 kB / 0.7205 GB, free: 11.64 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01093/0.0483, allocations: 12.46 MB / 0.7327 GB, free: 15.16 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009652/0.05795, allocations: 8.158 MB / 0.7406 GB, free: 6.91 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00295/0.0609, allocations: 1.253 MB / 0.7418 GB, free: 5.645 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004329/0.06133, allocations: 388.6 kB / 0.7422 GB, free: 5.266 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002375/0.06157, allocations: 141.2 kB / 0.7424 GB, free: 5.129 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.0616, allocations: 47.81 kB / 0.7424 GB, free: 5.074 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=142): time 2.936e-06/0.0616, allocations: 0 / 0.7424 GB, free: 5.074 MB / 0.5418 GB Notification: Performance of matching and sorting (n=142): time 0.005923/0.06752, allocations: 2.387 MB / 0.7447 GB, free: 2.68 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.06756, allocations: 64.72 kB / 0.7448 GB, free: 2.605 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.06903, allocations: 1.678 MB / 0.7464 GB, free: 0.9023 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 5.201e-05/0.06908, allocations: 49.7 kB / 0.7465 GB, free: 0.8477 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002795/0.06936, allocations: 0.5588 MB / 0.747 GB, free: 288 kB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002719/0.06963, allocations: 0.5076 MB / 0.7475 GB, free: 15.77 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004451/0.07008, allocations: 447.3 kB / 0.7479 GB, free: 15.32 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.07019, allocations: 357.9 kB / 0.7483 GB, free: 14.97 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009211/0.07111, allocations: 0.808 MB / 0.7491 GB, free: 14.16 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.07236, allocations: 1.469 MB / 0.7505 GB, free: 12.39 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/0.07419, allocations: 2.116 MB / 0.7526 GB, free: 9.973 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.0742, allocations: 4 kB / 0.7526 GB, free: 9.969 MB / 0.5574 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.002668/0.07687, allocations: 2.562 MB / 0.7551 GB, free: 7.398 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.07689, allocations: 12 kB / 0.7551 GB, free: 7.387 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.07691, allocations: 24 kB / 0.7551 GB, free: 7.363 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.061e-05/0.07694, allocations: 32 kB / 0.7551 GB, free: 7.332 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009198/0.07786, allocations: 0.511 MB / 0.7556 GB, free: 6.82 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.95e-05/0.07789, allocations: 51.89 kB / 0.7557 GB, free: 6.77 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008932/0.07878, allocations: 222.5 kB / 0.7559 GB, free: 6.551 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/0.07898, allocations: 252 kB / 0.7561 GB, free: 6.305 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.000379/0.07936, allocations: 437 kB / 0.7566 GB, free: 5.867 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.07953, allocations: 135 kB / 0.7567 GB, free: 5.734 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002653/0.08219, allocations: 2.176 MB / 0.7588 GB, free: 3.547 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.08219, allocations: 12 kB / 0.7588 GB, free: 3.535 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.0822, allocations: 7.938 kB / 0.7588 GB, free: 3.527 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.08221, allocations: 7.969 kB / 0.7588 GB, free: 3.52 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007607/0.08297, allocations: 0.8339 MB / 0.7597 GB, free: 2.641 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.08297, allocations: 0 / 0.7597 GB, free: 2.641 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/0.08342, allocations: 331.6 kB / 0.76 GB, free: 2.316 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.08343, allocations: 7.938 kB / 0.76 GB, free: 2.309 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.075e-05/0.08349, allocations: 83.89 kB / 0.7601 GB, free: 2.227 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.0835, allocations: 11.98 kB / 0.7601 GB, free: 2.215 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/0.0835, allocations: 7.984 kB / 0.7601 GB, free: 2.207 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.08483, allocations: 1.295 MB / 0.7613 GB, free: 0.8945 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004309/0.08526, allocations: 394.5 kB / 0.7617 GB, free: 0.5078 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.08537, allocations: 24 kB / 0.7617 GB, free: 496 kB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003182/0.08569, allocations: 39.97 kB / 0.7618 GB, free: 456 kB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.08581, allocations: 133.1 kB / 0.7619 GB, free: 324 kB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/0.08594, allocations: 200 kB / 0.7621 GB, free: 124 kB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.251/0.3369, allocations: 1.154 MB / 0.7632 GB, free: 81.46 MB / 0.5574 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3369, allocations: 0 / 0.7632 GB, free: 81.46 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.001934/0.3388, allocations: 0.5607 MB / 0.7638 GB, free: 81.4 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.003851/0.3427, allocations: 2.684 MB / 0.7664 GB, free: 80.32 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.002172/0.3448, allocations: 1.592 MB / 0.768 GB, free: 79.92 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3449, allocations: 0 / 0.768 GB, free: 79.92 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0006142/0.3455, allocations: 0.536 MB / 0.7685 GB, free: 79.8 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008491/0.3463, allocations: 258.4 kB / 0.7687 GB, free: 79.69 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/0.3611, allocations: 13.37 MB / 0.7818 GB, free: 72.92 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/0.3616, allocations: 0.5488 MB / 0.7823 GB, free: 72.76 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.00253/0.3641, allocations: 1.299 MB / 0.7836 GB, free: 72.27 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009418/0.3651, allocations: 0.6103 MB / 0.7842 GB, free: 71.9 MB / 0.5574 GB Notification: Performance of SimCode: time 1.192e-06/0.3651, allocations: 0 / 0.7842 GB, free: 71.9 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0414/0.4065, allocations: 36.68 MB / 0.82 GB, free: 47.9 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.657/9.064, allocations: 12.78 kB / 0.82 GB, free: 47.9 MB / 0.5574 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file TILMedia_TILMedia.Testers.TestGas_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 TILMedia_TILMedia_Testers_TestGas.fmu > TILMedia_TILMedia.Testers.TestGas.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.35609418246895] Failed to read output from testmodel.py, exit status != 0: 9.36093068961054 9.368548126 9.341764433 Calling exit ...