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.005737/0.005737, 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.5331/0.5331, 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.0008414/0.0008414, allocations: 97.38 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.0009576/0.0009576, allocations: 167.4 kB / 190.1 MB, free: 31.16 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.9063/0.9063, allocations: 177.1 MB / 399 MB, free: 7.488 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.06633/0.06633, allocations: 18.22 MB / 0.4905 GB, free: 0.5859 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_mixture,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas_mixture",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestGas_mixture,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas_mixture",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.6825 GB, free: 2.715 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.27e-05/1.399e-05, allocations: 7.688 kB / 0.6825 GB, free: 2.711 MB / 490.8 MB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas_mixture): time 0.002259/0.002273, allocations: 2.237 MB / 0.6847 GB, free: 468 kB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.00782/0.01009, allocations: 10.28 MB / 0.6947 GB, free: 6.141 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.01021, allocations: 0 / 0.6947 GB, free: 6.141 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.000611/0.01082, allocations: 210.9 kB / 0.6949 GB, free: 5.934 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.000219/0.01104, allocations: 186.9 kB / 0.6951 GB, free: 5.75 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.002605/0.01364, allocations: 2.398 MB / 0.6975 GB, free: 3.34 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.0004806/0.01412, allocations: 0.6876 MB / 0.6981 GB, free: 2.652 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 5.225e-05/0.01417, allocations: 16.92 kB / 0.6982 GB, free: 2.633 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.01441, allocations: 327.3 kB / 0.6985 GB, free: 2.312 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000549/0.01496, allocations: 0.8698 MB / 0.6993 GB, free: 1.441 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0001939/0.01515, allocations: 204 kB / 0.6995 GB, free: 1.242 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00264/0.0178, allocations: 2.758 MB / 0.7022 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004043/0.0182, allocations: 0.6316 MB / 0.7028 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003596/0.01856, allocations: 0.5302 MB / 0.7033 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003307/0.02187, allocations: 4.379 MB / 0.7076 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.02187, allocations: 0 / 0.7076 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.52e-07/0.02187, allocations: 0 / 0.7076 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.02188, allocations: 4 kB / 0.7076 GB, free: 8.918 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.002801/0.02468, allocations: 2.507 MB / 0.7101 GB, free: 6.371 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.02472, allocations: 12.03 kB / 0.7101 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000121/0.02484, allocations: 102.7 kB / 0.7102 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.02502, allocations: 80.38 kB / 0.7103 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.02665, allocations: 1.491 MB / 0.7117 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.02667, allocations: 37.36 kB / 0.7117 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.144e-05/0.02676, allocations: 36.38 kB / 0.7118 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003234/0.02999, allocations: 2.924 MB / 0.7146 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.03, allocations: 192 / 0.7146 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.178e-05/0.03007, allocations: 19.94 kB / 0.7147 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.363e-05/0.03014, allocations: 105.2 kB / 0.7148 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006457/0.03659, allocations: 8.376 MB / 0.7229 GB, free: 9.133 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005802/0.04239, allocations: 5.557 MB / 0.7284 GB, free: 3.496 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.04423, allocations: 0.8383 MB / 0.7292 GB, free: 2.648 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.0445, allocations: 263.7 kB / 0.7294 GB, free: 2.387 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/0.04465, allocations: 112.8 kB / 0.7295 GB, free: 2.277 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.04467, allocations: 39.56 kB / 0.7296 GB, free: 2.23 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=95): time 1.864e-06/0.04467, allocations: 0 / 0.7296 GB, free: 2.23 MB / 0.5262 GB Notification: Performance of matching and sorting (n=95): time 0.003673/0.04834, allocations: 1.605 MB / 0.7311 GB, free: 0.6211 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.04837, allocations: 72.34 kB / 0.7312 GB, free: 0.5391 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008838/0.04926, allocations: 1.109 MB / 0.7323 GB, free: 15.42 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.04929, allocations: 41.7 kB / 0.7323 GB, free: 15.37 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.04947, allocations: 400.3 kB / 0.7327 GB, free: 14.97 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.04962, allocations: 337.1 kB / 0.733 GB, free: 14.64 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/0.04989, allocations: 294.8 kB / 0.7333 GB, free: 14.35 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.05001, allocations: 390.8 kB / 0.7337 GB, free: 13.96 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005443/0.05055, allocations: 0.5217 MB / 0.7342 GB, free: 13.43 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007274/0.05128, allocations: 0.9146 MB / 0.7351 GB, free: 12.34 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.05242, allocations: 1.331 MB / 0.7364 GB, free: 10.84 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.05243, allocations: 7.938 kB / 0.7364 GB, free: 10.83 MB / 0.5418 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.001675/0.0541, allocations: 1.641 MB / 0.738 GB, free: 9.18 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.05412, allocations: 12 kB / 0.738 GB, free: 9.168 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.05413, allocations: 16.81 kB / 0.738 GB, free: 9.152 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.05416, allocations: 20 kB / 0.738 GB, free: 9.133 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005737/0.05473, allocations: 339.5 kB / 0.7384 GB, free: 8.801 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/0.05475, allocations: 27.92 kB / 0.7384 GB, free: 8.773 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005455/0.05529, allocations: 135.1 kB / 0.7385 GB, free: 8.641 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.05541, allocations: 168 kB / 0.7387 GB, free: 8.477 MB / 0.5418 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.0002715/0.05569, allocations: 325.2 kB / 0.739 GB, free: 8.148 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.0558, allocations: 87.44 kB / 0.7391 GB, free: 8.062 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.05751, allocations: 1.463 MB / 0.7405 GB, free: 6.586 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.05751, allocations: 12 kB / 0.7405 GB, free: 6.574 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.05752, allocations: 0 / 0.7405 GB, free: 6.574 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.05752, allocations: 3.984 kB / 0.7405 GB, free: 6.57 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000517/0.05804, allocations: 0.6142 MB / 0.7411 GB, free: 5.914 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.05804, allocations: 3.984 kB / 0.7411 GB, free: 5.91 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.05833, allocations: 223.8 kB / 0.7413 GB, free: 5.691 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.05834, allocations: 4 kB / 0.7413 GB, free: 5.688 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/0.05838, allocations: 59.91 kB / 0.7414 GB, free: 5.629 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.05838, allocations: 0 / 0.7414 GB, free: 5.629 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.05838, allocations: 4 kB / 0.7414 GB, free: 5.625 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008766/0.05926, allocations: 0.9117 MB / 0.7423 GB, free: 4.695 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/0.05954, allocations: 263 kB / 0.7425 GB, free: 4.438 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.438e-05/0.05962, allocations: 19.94 kB / 0.7426 GB, free: 4.418 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.05982, allocations: 27.98 kB / 0.7426 GB, free: 4.391 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.943e-05/0.05991, allocations: 88.81 kB / 0.7427 GB, free: 4.305 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-05/0.05999, allocations: 136 kB / 0.7428 GB, free: 4.172 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.0005783/0.06057, allocations: 0.784 MB / 0.7436 GB, free: 3.395 MB / 0.5418 GB Notification: Performance of sort global known variables: time 6e-08/0.06057, allocations: 0 / 0.7436 GB, free: 3.395 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0007189/0.06129, allocations: 431.2 kB / 0.744 GB, free: 2.973 MB / 0.5418 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.002073/0.06336, allocations: 2.225 MB / 0.7462 GB, free: 0.9375 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.001023/0.06439, allocations: 1.042 MB / 0.7472 GB, free: 15.9 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.06439, allocations: 0 / 0.7472 GB, free: 15.9 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0003248/0.06471, allocations: 365.5 kB / 0.7475 GB, free: 15.54 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004974/0.06521, allocations: 171 kB / 0.7477 GB, free: 15.38 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007507/0.07272, allocations: 9.002 MB / 0.7565 GB, free: 5.895 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.07297, allocations: 401.6 kB / 0.7569 GB, free: 5.477 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.001271/0.07424, allocations: 0.852 MB / 0.7577 GB, free: 4.621 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005283/0.07477, allocations: 420.1 kB / 0.7581 GB, free: 4.207 MB / 0.5574 GB Notification: Performance of SimCode: time 5.51e-07/0.07477, allocations: 0 / 0.7581 GB, free: 4.207 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2173/0.2921, allocations: 25.74 MB / 0.7832 GB, free: 76.57 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.99/7.282, allocations: 14.89 kB / 0.7832 GB, free: 76.56 MB / 0.5574 GB " [Timeout remaining time 652] (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.002 --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: 10.142062041908503] Failed to read output from testmodel.py, exit status != 0: 7.5662510665133595 7.573259715 7.550160629 Calling exit ...