Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_TILMedia.Testers.TestGas_mixture.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.014/0.014, allocations: 1.771 MB / 18.82 MB, free: 4.355 MB / 14.72 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.9194/0.9194, allocations: 130.6 MB / 152.5 MB, free: 10.21 MB / 126.1 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.001296/0.001296, allocations: 107.1 kB / 183.8 MB, free: 3.281 MB / 142.1 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.00158/0.00158, allocations: 210.5 kB / 215.1 MB, free: 6.98 MB / 174.1 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 1.633/1.633, allocations: 230.5 MB / 476.9 MB, free: 5.734 MB / 318.1 MB " [Timeout remaining time 178] 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.1186/0.1186, allocations: 25.54 MB / 0.5731 GB, free: 10.37 MB / 430.1 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.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(TILMedia.Testers.TestGas_mixture,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas_mixture",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestGas_mixture,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas_mixture",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: SMArtInt requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ClaRa requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003704/0.003704, allocations: 127.8 kB / 0.7631 GB, free: 7.777 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4801/0.4838, allocations: 89.06 MB / 0.85 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas_mixture): time 0.004485/0.4882, allocations: 2.372 MB / 0.8524 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01612/0.5044, allocations: 11.39 MB / 0.8635 GB, free: 5.902 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002487/0.5046, allocations: 8 kB / 0.8635 GB, free: 5.895 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008758/0.5055, allocations: 211 kB / 0.8637 GB, free: 5.688 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004392/0.5059, allocations: 195 kB / 0.8639 GB, free: 5.496 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005166/0.5111, allocations: 2.178 MB / 0.866 GB, free: 3.309 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008786/0.512, allocations: 0.6761 MB / 0.8667 GB, free: 2.633 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.158e-05/0.512, allocations: 16.73 kB / 0.8667 GB, free: 2.617 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.5123, allocations: 243.3 kB / 0.8669 GB, free: 2.379 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.5133, allocations: 0.9124 MB / 0.8678 GB, free: 1.465 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003068/0.5136, allocations: 208 kB / 0.868 GB, free: 1.262 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006293/0.5199, allocations: 3.786 MB / 0.8717 GB, free: 13.47 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0007468/0.5207, allocations: 0.6314 MB / 0.8723 GB, free: 12.84 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.0007943/0.5215, allocations: 0.6538 MB / 0.873 GB, free: 12.18 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.007619/0.5291, allocations: 4.347 MB / 0.8772 GB, free: 7.824 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.5291, allocations: 0 / 0.8772 GB, free: 7.824 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5291, allocations: 0 / 0.8772 GB, free: 7.824 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 1.775e-05/0.5291, allocations: 0 / 0.8772 GB, free: 7.824 MB / 0.5607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.006568/0.5357, allocations: 2.605 MB / 0.8797 GB, free: 5.156 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/0.5357, allocations: 8.625 kB / 0.8798 GB, free: 5.148 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.688e-05/0.5358, allocations: 13.19 kB / 0.8798 GB, free: 5.137 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002011/0.536, allocations: 110.7 kB / 0.8799 GB, free: 5.02 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004306/0.5364, allocations: 84.38 kB / 0.88 GB, free: 4.938 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00304/0.5395, allocations: 1.561 MB / 0.8815 GB, free: 3.352 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.527e-05/0.5395, allocations: 29.38 kB / 0.8815 GB, free: 3.324 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.5396, allocations: 48.12 kB / 0.8815 GB, free: 3.277 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006809/0.5465, allocations: 2.923 MB / 0.8844 GB, free: 324 kB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.5465, allocations: 4 kB / 0.8844 GB, free: 320 kB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.5466, allocations: 16 kB / 0.8844 GB, free: 304 kB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000126/0.5467, allocations: 93.25 kB / 0.8845 GB, free: 212 kB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01317/0.5599, allocations: 8.485 MB / 0.8928 GB, free: 7.715 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01322/0.5731, allocations: 5.912 MB / 0.8986 GB, free: 1.707 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004173/0.5773, allocations: 0.8441 MB / 0.8994 GB, free: 0.8555 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004938/0.5778, allocations: 267.7 kB / 0.8997 GB, free: 0.5898 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002987/0.5781, allocations: 116.8 kB / 0.8998 GB, free: 488 kB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.5781, allocations: 43.56 kB / 0.8998 GB, free: 436 kB / 0.5763 GB Notification: Performance of pre-optimization done (n=95): time 2.966e-06/0.5781, allocations: 0 / 0.8998 GB, free: 436 kB / 0.5763 GB Notification: Performance of matching and sorting (n=95): time 0.008167/0.5863, allocations: 1.605 MB / 0.9014 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/0.5864, allocations: 64.34 kB / 0.9014 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.5882, allocations: 1.097 MB / 0.9025 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.73e-05/0.5882, allocations: 41.7 kB / 0.9025 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/0.5886, allocations: 392.4 kB / 0.9029 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000328/0.5889, allocations: 349.1 kB / 0.9033 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005929/0.5895, allocations: 286.8 kB / 0.9035 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002283/0.5897, allocations: 394.7 kB / 0.9039 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009582/0.5907, allocations: 0.5256 MB / 0.9044 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001352/0.592, allocations: 0.907 MB / 0.9053 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002738/0.5948, allocations: 1.335 MB / 0.9066 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.5948, allocations: 0 / 0.9066 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.00539/0.6002, allocations: 1.652 MB / 0.9082 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.6002, allocations: 15.94 kB / 0.9082 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.31e-05/0.6003, allocations: 12 kB / 0.9082 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.241e-05/0.6003, allocations: 20 kB / 0.9083 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002161/0.6025, allocations: 336 kB / 0.9086 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.466e-05/0.6025, allocations: 27.92 kB / 0.9086 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/0.6048, allocations: 147 kB / 0.9087 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003928/0.6052, allocations: 160 kB / 0.9089 GB, free: 6.688 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 (151): * Single equations (assignments): 151 * 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.0008327/0.6061, allocations: 329.3 kB / 0.9092 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004249/0.6065, allocations: 87.38 kB / 0.9093 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004012/0.6105, allocations: 1.459 MB / 0.9107 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.6105, allocations: 11.94 kB / 0.9107 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.6105, allocations: 0 / 0.9107 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.6105, allocations: 7.922 kB / 0.9107 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.6118, allocations: 0.7748 MB / 0.9115 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.6118, allocations: 0 / 0.9115 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006059/0.6124, allocations: 223.8 kB / 0.9117 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.6124, allocations: 4 kB / 0.9117 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-05/0.6125, allocations: 55.97 kB / 0.9118 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.819e-06/0.6125, allocations: 7.984 kB / 0.9118 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6125, allocations: 0 / 0.9118 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.6143, allocations: 0.9078 MB / 0.9127 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005402/0.6148, allocations: 336.2 kB / 0.913 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.6149, allocations: 20 kB / 0.913 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005339/0.6155, allocations: 31.92 kB / 0.913 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.6156, allocations: 80.91 kB / 0.9131 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/0.6158, allocations: 139.9 kB / 0.9132 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001134/0.6169, allocations: 0.784 MB / 0.914 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6169, allocations: 0 / 0.914 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001387/0.6183, allocations: 435.1 kB / 0.9144 GB, free: 0.9219 MB / 0.5919 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 (95): * Single equations (assignments): 95 * 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.00405/0.6224, allocations: 2.164 MB / 0.9165 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002206/0.6246, allocations: 1.034 MB / 0.9175 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.6246, allocations: 0 / 0.9175 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006612/0.6253, allocations: 373.5 kB / 0.9179 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.6263, allocations: 163.4 kB / 0.9181 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/0.6412, allocations: 9.021 MB / 0.9269 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007526/0.6419, allocations: 1.002 MB / 0.9278 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002378/0.6443, allocations: 0.8432 MB / 0.9287 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009658/0.6453, allocations: 419 kB / 0.9291 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of SimCode: time 1.263e-06/0.6453, allocations: 3.938 kB / 0.9291 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05049/0.6957, allocations: 24.54 MB / 0.953 GB, free: 9.156 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.98, allocations: 4.062 kB / 0.953 GB, free: 9.152 MB / 0.6388 GB " [Timeout remaining time 649] (rm -f TILMedia_TILMedia.Testers.TestGas_mixture.pipe ; mkfifo TILMedia_TILMedia.Testers.TestGas_mixture.pipe ; head -c 1048576 < TILMedia_TILMedia.Testers.TestGas_mixture.pipe >> ../files/TILMedia_TILMedia.Testers.TestGas_mixture.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_TILMedia_TILMedia_Testers_TestGas_mixture_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 TILMedia_TILMedia_Testers_TestGas_mixture.fmu > TILMedia_TILMedia.Testers.TestGas_mixture.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.61715543299215] Failed to read output from testmodel.py, exit status != 0: 11.380648546968587 11.400198095 10.867618238 Calling exit ...